swipe
Drag from one point to another on a connected iPhone or iPad to simulate touch gestures for app development testing.
Instructions
Drag from one point to another (points).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toX | Yes | ||
| toY | Yes | ||
| fromX | Yes | ||
| fromY | Yes | ||
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. | |
| duration | No | Seconds (default 0.3) |