swipe
Simulate a drag gesture on an Android device by specifying start and end coordinates, with optional duration in milliseconds.
Instructions
Swipe from (x1,y1) to (x2,y2)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (optional; required when multiple devices connected) | |
| x1 | Yes | Start X | |
| y1 | Yes | Start Y | |
| x2 | Yes | End X | |
| y2 | Yes | End Y | |
| duration | No | Duration in ms (default 300) |