scroll
Scroll elements or windows in Electron apps by specifying absolute positions or relative deltas. Use this tool to navigate content precisely within automated workflows.
Instructions
Scroll an element (if selector is given) or the window (if not). Pass x/y for an absolute scroll position, or dx/dy for a delta from the current position. Use scroll_into_view instead if you just want to make an element visible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Container to scroll. Omit to scroll the window. | |
| x | No | Absolute scrollLeft position. | |
| y | No | Absolute scrollTop position. | |
| dx | No | Delta X (added to current scroll). | |
| dy | No | Delta Y (added to current scroll). |