ios_swipe
Simulate swipe gestures on an iOS Simulator or real iPhone using a direction or explicit start/end points to scroll, navigate back, or perform custom gestures.
Instructions
Swipe: either a direction from the screen center, or explicit points.
The direction is the finger's: "up" scrolls content down (reveals what is below). To go back in most apps, swipe from x=2 to x=250 at mid-height.
Args: direction: up, down, left or right. from_x: Start x in points (with from_y, to_x, to_y instead of direction). from_y: Start y in points. to_x: End x in points. to_y: End y in points. duration: Gesture duration in seconds; shorter is a faster fling. device: Simulator name or UDID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_x | No | ||
| to_y | No | ||
| device | No | ||
| from_x | No | ||
| from_y | No | ||
| duration | No | ||
| direction | No |