Scroll
scrollMove a macOS app's viewport by a page-like amount in a chosen direction, targeting either an accessibility element or a screen coordinate. Returns updated state if requested.
Instructions
Scroll at a bound element or frame coordinate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| app_ref | No | ||
| strategy | No | Prefer accessibility, require accessibility, or require event dispatch. | auto |
| return_state | No | Optionally observe the target again after the action. | none |
| scroll_amount | Yes | Positive page-like scroll amount. | |
| scroll_direction | Yes | Scroll direction. |