Scroll page
scroll_pageScroll a webpage up or down by a percentage of the viewport to load lazy-loaded content and trigger infinite scroll, with feedback on actual movement and page end.
Instructions
Scroll the page up or down by a percentage of the viewport.
The way to trigger lazy-loaded content and infinite scroll; take a fresh take_snapshot afterwards to see what was added.
The response reports how far the page actually moved and whether the end has been reached, so a scroll loop has something to stop on: "did not move" means you are at the end, and a page height that keeps growing means more content is still loading.
To bring one known element into view, scroll_to_selector is more precise.
click already scrolls to its target, so no scrolling is needed before it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | How far to scroll, as a percentage of the viewport height — 25 is a quarter screen, 100 a full screen. | |
| browser | No | Which browser to act on. Each name is an independent Chrome, created on first use. Omit for the shared default; parallel agents each need their own name. | default |
| direction | No | Direction to scroll. | down |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |