Scroll page
scroll_pageScroll the viewport by a percentage to trigger lazy-loaded content and infinite scroll, then capture a snapshot to reveal newly added elements.
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.
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. | |
| direction | No | Direction to scroll. | down |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |