swipe
Simulate a swipe gesture in a specified direction on an iOS simulator or device. Override start and end coordinates for precise placement.
Instructions
Swipes in a direction or between two coordinates via an ephemeral Maestro flow. direction is always required; startX/startY/endX/endY are optional overrides expressed as percentage strings (e.g. '10%,50%') or pixel values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| udid | Yes | Simulator / device UDID | |
| bundleId | Yes | App bundle identifier | |
| direction | Yes | Swipe direction | |
| startX | No | Start X (e.g. '10%' or '120') | |
| startY | No | Start Y | |
| endX | No | End X | |
| endY | No | End Y | |
| timeoutMs | No | Flow timeout in ms | |
| noLaunch | No | Skip the implicit launchApp attach step (default false). Set true when an open modal or navigation state must not be disturbed. |