Skip to main content
POST
Browser type

Authorizations

Authorization
string
header
required

An API key from the dashboard, such as sk_live_…. It acts in its workspace.

Path Parameters

sandbox_id
string
required

The sandbox, sbx_….

Body

application/json
text
string
required

The text to type.

ref
integer<uint64> | null

The element to type into, by its ref in the page's latest snapshot: it's clicked and focused first. The focused element when absent.

Required range: x >= 0
submit
boolean
default:false

Press Enter after the text, such as to submit a search.

Response

OK

title
string
required

The page's title.

url
string
required

The page's URL.

snapshot
string | null

The page's accessibility tree as an indented outline, one element a line: - role "name" [ref=N]. A ref names the element to click, type into or scroll to.