scroll
Move Android screen content up, down, left, or right to reveal hidden areas, optionally targeting a specific element and returning UI changes.
Instructions
Scroll the content in a direction (down = reveal content below). Scrolls the given element (index), otherwise the largest scrollable element on screen (the screen centre only when no UI tree is available).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | [ref] of the scrollable element | |
| amount | No | Fraction of the area to scroll | |
| serial | No | adb serial; optional when exactly one device is connected | |
| observe | No | What to return after the action: changes (default: only what changed since you last saw the screen, full tree on a new screen), ui (full tree), screenshot, both (tree + screenshot), none | changes |
| direction | Yes | ||
| settle_ms | No | Wait before observing |