ui_swipe
Perform a swipe gesture between two specified coordinates on the iOS simulator. Use ui_snapshot to capture coordinates for targeted interactions.
Instructions
Swipe between two points on the simulator screen. Use ui_snapshot to get coordinates, then swipe between them. For common gestures like scrolling, prefer ui_gesture instead.
Requires AXe CLI: brew tap cameroncooke/axe && brew install axe
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | Device UDID, name, or 'booted' | booted |
| start_x | Yes | Start X coordinate | |
| start_y | Yes | Start Y coordinate | |
| end_x | Yes | End X coordinate | |
| end_y | Yes | End Y coordinate | |
| duration | No | Swipe duration in seconds |