Skip to main content
The scroll action allows you to navigate through content by moving vertically or horizontally on a webpage.

Basic Usage

Scroll vertically and horizontally using natural language.

Scrolling Vertically

Scrolling Horizontally

For Inner Scrolls

For scrollable containers within a page, first hover on the container, then scroll. You can also describe the inner scroll directly:

First Hover on the scrollable container, then Scroll

Scroll Until Visible

You can tell the agent to scroll until a specific element comes into view:
This is useful when you need to reach a section of the page but don’t know exactly how far to scroll.

Scroll to Page Sections

You can tell the agent to scroll directly to the footer or header of a page:

Best Practices

The Spur agent decides how far to scroll based on your prompt. If the prompt is to scroll all the way to the bottom of the page, the agent will scroll by a larger amount (e.g. the entire viewport).
For more reliable tests, provide specific pixel values for scroll distances when precision matters.