Skip to main content
POST
Scroll By

Description

Scrolls the page by a relative pixel offset from the current position.

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

x
number
Horizontal scroll amount in pixels. Positive scrolls right, negative scrolls left.
y
number
Vertical scroll amount in pixels. Positive scrolls down, negative scrolls up.

Response

success
boolean
Whether the scroll was performed successfully.

Example