Skip to main content
POST
Browser click

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
button
enum<string>
default:left

left, right or middle; left when absent.

Available options:
left,
right,
middle
double
boolean
default:false

A double click.

ref
integer<uint64> | null

The element to click, by its ref in the page's latest snapshot. It's scrolled into view and clicked in its middle.

Required range: x >= 0
x
number<double> | null

Or the point to click, in CSS pixels from the left of the viewport.

y
number<double> | null

And from the top of the viewport.

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.