Scroll
browser_scrollScroll a page or element up/down by pixels or to top/bottom. It also scrolls infinite feeds until stable and locates the actual scroll container in app layouts.
Instructions
Scroll the page (or an element) down/up, by pixels, or to top/bottom. untilStable keeps scrolling to the bottom while an infinite feed keeps loading, and reports how much it grew. Finds the real scroll container in app layouts where the window itself does not scroll.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Pixels (default: most of a screen). | |
| to | No | ||
| ref | No | Element ref from browser_find or browser_capabilities. | |
| tabId | No | ||
| selector | No | CSS selector, if you have no ref. | |
| direction | No | ||
| maxRounds | No | For untilStable (default 10). | |
| untilStable | No |