swipe
Perform a touch drag from one screen point to another by specifying start and end coordinates and duration. Enables testing gestures like scrolling or navigation on an Android emulator.
Instructions
Swipe from one point to another (pixels)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| serial | No | Device serial (e.g. emulator-5554). Optional when exactly one device is connected. | |
| duration_ms | No | Swipe duration in milliseconds |