Scroll
scrollScrolls the screen in any direction by computing a safe swipe in the middle, avoiding status and navigation bars. Use for reliable scrolling instead of raw swipe.
Instructions
Scroll the screen in a direction (computes a safe swipe in the middle of the screen, avoiding the status bar and navigation areas). Prefer this over raw swipe for scrolling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Fraction of screen to scroll (default 0.5) | |
| serial | No | Device serial (defaults to session or the only device) | |
| direction | Yes | 'down' reveals content below (finger moves up), 'up' reveals content above |