scroll
Move the web page down/up or bring an element into view to load infinite feeds and lazy images, or make off-screen controls clickable.
Instructions
Scroll the page, or bring an element into view.
Needed for more than reading: infinite feeds only load the next batch once you reach the bottom, and lazy images never request until they approach the viewport. An element below the fold can also be genuinely unclickable.
Args:
to: 'down', 'up', 'top', 'bottom', or 'element' (with selector).
selector: Element to scroll into view. Implies to='element'.
amount_px: Pixels to scroll for 'down'/'up' (default 600).
wait_until: Readiness signal afterwards. Defaults to 'dom_settled', which
is what makes this useful on infinite scroll — it returns once
the newly loaded rows stop arriving.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | down | |
| selector | No | ||
| amount_px | No | ||
| wait_until | No | dom_settled |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |