Skip to main content
POST
Scroll To

Description

Scrolls the page to bring a specific node or position into view.

Authentication

Open-source deployments do not require authentication by default. If your server config enables X-API-Key, include that header with the request.

Path Parameters

id
string
required
The browser ID returned from Create Session.

Request Body

node_id
integer
Node ID of the element to scroll into view.
x
number
Absolute horizontal scroll position in pixels.
y
number
Absolute vertical scroll position in pixels.

Response

success
boolean
Whether the scroll was performed successfully.

Example