swipe
Simulate a touch gesture between two screen coordinates, with optional duration, to test mobile UI interactions.
Instructions
Swipe from one point to another on the screen
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start X coordinate | |
| x2 | Yes | End X coordinate | |
| y1 | Yes | Start Y coordinate | |
| y2 | Yes | End Y coordinate | |
| device_id | No | Target device ID. If omitted, uses the default device. | |
| duration_ms | No | Duration of the swipe in milliseconds (default: 300) |