swipe
Simulate touchscreen swipes on iOS virtual machines by specifying start and end coordinates with duration control for testing and automation.
Instructions
Swipe from one point to another.
Coordinates are in pixels matching the screenshot dimensions (1290x2796).
Args: x1: Start X coordinate y1: Start Y coordinate x2: End X coordinate y2: End Y coordinate duration_ms: Swipe duration in milliseconds (default 300)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |