scroll
Scroll the page in a direction, or scroll a specific element.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | An element ref from this page's latest get_a11y_tree, such as e5, or f1e3 inside an iframe. | |
| frame | No | A CSS selector for an iframe, or a list of them for nested iframes. selector, label and ref then resolve inside it. | |
| amount | No | Pixels to scroll (default: 500) | |
| page_id | No | The page to act on, from list_pages or pages_opened. Defaults to the current page. Does not change the current page. | |
| selector | No | CSS selector of a scrollable element. If omitted, the window is scrolled. | |
| direction | Yes | Scroll direction | |
| session_id | Yes | Browser session ID |