Browser commands
Usage and options for commands that control the browser.
Basic browser workflow
orke browser tab.list --json
orke browser page.snapshot --page "PAGE_ID" --json
orke browser page.run --page "PAGE_ID" --goal "Open the user guide on this page" --jsonStart an interaction goal with page.run, which follows the decision model settings. Read the returned observation and handoff before choosing the next action.
Get references such as e7 from the latest snapshot or current run observation on the same page. Observe again after navigation or a document change.
5 convenience aliases
| Alias | Canonical method |
|---|---|
| goto <URL> | page.navigate |
| tab list | tab.list |
| tab create | tab.create |
| tab switch | tab.activate |
| tab close | tab.close |
Command list
41 commands · Select one to open its details.
orke browser tab.listList pages available in this workspace and the active page.
↗orke browser tab.createCreate a page in the selected profile; omit url for a blank page.
↗orke browser tab.activateActivate the target page.
↗orke browser tab.closeClose the target page; agent close does not ask beforeunload.
↗orke browser page.navigateNavigate the page to the given URL.
↗orke browser page.backNavigate back in page history.
↗orke browser page.forwardNavigate forward in page history.
↗orke browser page.stopStop loading the page.
↗orke browser page.reloadReload the page; bypassCache true bypasses cache.
↗orke browser page.snapshotRead page state and references for interactive elements.
↗orke browser page.inspectInspect value, state and text through an element reference from snapshot.
↗orke browser page.runRun a browser decision loop with a goal and supplied values; inspect completion and stop reasons.
↗orke browser page.screenshotCapture a PNG or JPEG image of the page.
↗orke browser page.consoleRead page console records after a cursor.
↗orke browser page.networkRead observed page network records after a cursor.
↗orke browser page.clickClick the referenced element through trusted input.
↗orke browser page.dblclickDouble-click the referenced element.
↗orke browser page.hoverMove the pointer over the referenced element.
↗orke browser page.focusFocus the referenced element.
↗orke browser page.fillReplace the referenced input's value with text; empty text clears it.
↗orke browser page.typeType text into the referenced element; newlines selects how line breaks are delivered.
↗orke browser page.selectSelect option values; repeat values for multiple selections.
↗orke browser page.checkSet a checkbox or radio selection state.
↗orke browser page.keypressPress one key with optional modifier keys.
↗orke browser page.scrollScroll the page by horizontal and vertical pixel deltas.
↗orke browser page.uploadSupply workspace files to a file input or chooser trigger.
↗orke browser page.waitWait until one text, URL, element or load condition is satisfied.
↗orke browser page.findFind text in the page or move to the next match.
↗orke browser page.stopFindStop finding text and apply the selected match-selection action.
↗orke browser page.zoomSet the page zoom factor.
↗orke browser page.viewportSet the page viewport dimensions or reset to its default size.
↗orke browser page.evaluateEvaluate a JavaScript expression only on a connection with development capability.
↗orke browser download.listList download state in this workspace.
↗orke browser download.cancelCancel the selected download.
↗orke browser profile.listList available browser profiles.
↗orke browser profile.createCreate a browser profile with a display name.
↗orke browser profile.selectSelect a browser profile for the target page.
↗orke browser annotation.pickStart annotation picking so a person can select an element.
↗orke browser annotation.cancelCancel the active annotation picker.
↗orke browser page.dialogRead the current JavaScript or beforeunload dialog and its ID.
↗orke browser page.dialogRespondAccept, dismiss or answer a prompt using the observed dialog ID.
↗