scroll
Move the page or a container vertically or horizontally; bring a target into view, jump to top or bottom, and report position plus height changes for infinite loading.
Instructions
Scroll the page or a container. Without direction/to, target is scrolled into view. With direction (amount px, default 80% of the viewport/container) or to top|bottom, target is the scroll container (default the page). Reports "scrolled y=/ viewport=" and a height change (infinite scroll).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| tab | No | Tab id such as "t3"; default is the active tab | |
| amount | No | ||
| target | No | ||
| direction | No |