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

string
required
The browser ID returned from Create Session.

Request Body

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

Response

boolean
Whether the scroll was performed successfully.

Example