Browser commands

Usage and options for commands that control the browser.

Syntax · Options · ExamplesEnglish

Basic browser workflow

Terminal
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" --json

Start an interaction goal with page.run, which follows the decision model settings. Read the returned observation and handoff before choosing the next action.

Get element references from the latest observation

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

AliasCanonical method
goto <URL>page.navigate
tab listtab.list
tab createtab.create
tab switchtab.activate
tab closetab.close

Command list

41 commands · Select one to open its details.

orke browser tab.list

List pages in the current workspace.

↗
orke browser tab.create

Create a web page.

↗
orke browser tab.activate

Select the specified page.

↗
orke browser tab.close

Close the specified page.

↗
orke browser page.navigate

Navigate to a URL.

↗
orke browser page.back

Go to the previous page.

↗
orke browser page.forward

Go to the next page.

↗
orke browser page.stop

Stop loading the page.

↗
orke browser page.reload

Reload the page.

↗
orke browser page.snapshot

Read current elements and their reference numbers.

↗
orke browser page.inspect

Inspect an element’s text, value, and input state.

↗
orke browser page.run

Send a web task goal and interact according to the decision model settings (Jev or Microsoft Decision-1).

↗
orke browser page.screenshot

Get an image of the current page.

↗
orke browser page.console

Read the page’s console log.

↗
orke browser page.network

Read the page’s recorded network observations.

↗
orke browser page.click

Click an observed element.

↗
orke browser page.dblclick

Double-click an element.

↗
orke browser page.hover

Move the pointer over an element.

↗
orke browser page.focus

Move input focus to an element.

↗
orke browser page.fill

Replace an input field’s content with the specified text.

↗
orke browser page.type

Enter text at the active editing position.

↗
orke browser page.select

Select a value from a list.

↗
orke browser page.check

Set the checked state.

↗
orke browser page.keypress

Send keys and key combinations to the page.

↗
orke browser page.scroll

Scroll the page by the specified distance.

↗
orke browser page.upload

Pass files to an upload button or file input.

↗
orke browser page.wait

Wait for text, a URL, an element, or a loading condition.

↗
orke browser page.find

Find text within the page.

↗
orke browser page.stopFind

End find and choose how to handle the selection.

↗
orke browser page.zoom

Change the page zoom.

↗
orke browser page.viewport

Change or reset the page viewport size.

↗
orke browser page.evaluate

Run JavaScript with an allowed development capability.

↗
orke browser download.list

Read the downloads list.

↗
orke browser download.cancel

Cancel a download.

↗
orke browser profile.list

List web profiles.

↗
orke browser profile.create

Create a web profile.

↗
orke browser profile.select

Select the page’s web profile.

↗
orke browser annotation.pick

Ask a person to pick a page element.

↗
orke browser annotation.cancel

Cancel element picking.

↗
orke browser page.dialog

Read the current JavaScript dialog.

↗
orke browser page.dialogRespond

Accept or dismiss a previously read dialog.

↗

Search documentation

The page could not be displayed. Reload ×