OS Level Control

Scroll

Performs a scroll action at the specified coordinates

post/v1/sessions/{sessionId}/scroll

Path parameters

sessionIdstring uuid required

The ID of the browser session

Request body

xinteger required

X coordinate

yinteger required

Y coordinate

deltaXinteger

Horizontal scroll amount (positive is right, negative is left)

deltaYinteger required

Vertical scroll amount (positive is down, negative is up)

stepsinteger

Number of steps to break the scroll into for smoother scrolling

useOsboolean

Whether to use the OS scroll or the Playwright scroll

Response

Scroll performed successfully

statusstring

Changes

Changed in 1 of the 33 revisions of this API.3

    • the deltaX request property default value 0 was removed

      request-property-default-value-removed

    • the steps request property default value 1 was removed

      request-property-default-value-removed

    • the useOs request property default value true was removed

      request-property-default-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog