swipe
Simulate scroll and drag gestures on Android devices for Flutter app debugging. Specify direction or coordinates, duration for slow drag or fling, and device serial when multiple are connected.
Instructions
Swipe or scroll. Give a direction for a centred swipe, or explicit coordinates.
Args: direction: up, down, left or right. "up" scrolls the content up (reveals what is below), matching how a finger moves. x1, y1, x2, y2: start and end points, used when direction is omitted. duration_ms: swipe duration; raise it for a slow drag, lower it to fling. serial: device serial when several are attached.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | No | ||
| x2 | No | ||
| y1 | No | ||
| y2 | No | ||
| serial | No | ||
| direction | No | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |