Purpose
Use Scroll to trigger lazy loading, reveal elements below the fold, or position a target before clicking or screenshotting.
How it works
- Scrolls the page by direction and pixel amount when no selector is provided.
- Scrolls the selected element into view when a selector is provided.
- Continues immediately after the scroll action.
Configuration fields
| Field | Required | Default | Description |
|---|---|---|---|
| Direction | Yes | down | up, down, left, or right. |
| Amount | No | 500 | Pixels to scroll when scrolling the page. |
| Target Element | No | - | Optional selector for an element to scroll into view. |
Usage notes
- Use repeated Scroll and Sleep blocks for infinite-scroll pages.
- Check exported row counts after each scroll depth change.
- Use a target selector when the element exists but is outside the current viewport.