swipe
Perform a directional drag gesture on an iOS simulator using start/end coordinates or a direction, with configurable duration for UI navigation and testing.
Instructions
Perform a swipe gesture.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_x | No | Ending X coordinate | |
| to_y | No | Ending Y coordinate | |
| from_x | No | Starting X coordinate | |
| from_y | No | Starting Y coordinate | |
| device_id | Yes | Simulator UDID | |
| direction | No | Swipe direction | |
| duration_ms | No | Duration in milliseconds |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |