lightweight_scroll
Scroll web pages programmatically in any direction by pixel increments or to the end. Returns the new scroll position.
Instructions
Scroll page via JS. Returns new scroll position.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID to scroll | |
| direction | Yes | Scroll direction | |
| amount | No | Scroll amount in pixels. Default: 300 | |
| smooth | No | Smooth scroll. Default: false | |
| selector | No | Scrollable element selector. Default: window | |
| scrollToEnd | No | Scroll to end in given direction. Default: false | |
| waitAfterMs | No | Wait after scroll in ms. Default: 0 |