Actions35
- Browser Session Actions
- OS Level Control Actions
- Profile Actions
- Task Actions
- Tool Actions
OS Level Control → Scroll
AI-generatedSummary
Send a scroll command within a specific browser session to move the viewport at given coordinates by specified horizontal and vertical amounts.
Inputs
- Base URL — The base URL for the Anchor Browser API, defaulting to https://api.anchorbrowser.io.
- Session ID (required) — The ID of the browser session to perform the scroll in.
- Scroll Configuration (required) — Parameters to control the scroll action including X and Y coordinates (required), horizontal and vertical scroll amounts (deltaX and deltaY), number of steps for smoother scrolling, and whether to use OS scroll or Playwright scroll.
Output shape
a single JSON object
The operation returns the JSON response from the Anchor Browser API after performing the scroll action in the specified session. Errors are thrown or returned according to node settings.
Examples
Example 1: Scroll vertically down by 100 pixels at screen coordinates (0,0) with one smooth step using OS scroll
Set Session ID to the current browser session. Set Scroll Configuration with x=0, y=0, deltaX=0, deltaY=100, steps=1, useOs=true.