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

string
required
The browser ID returned from Create Session.

Request Body

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

Response

boolean
Whether the scroll was performed successfully.

Example