gesture
Execute preset gestures like scroll, swipe, or edge swipes on iOS simulators for testing and automation. Configure screen dimensions, duration, and delays for precise control.
Instructions
Perform gesture on iOS simulator using preset gestures: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge
Input Schema
Name | Required | Description | Default |
---|---|---|---|
delta | No | Optional: Distance to move in pixels. | |
duration | No | Optional: Duration of the gesture in seconds. | |
postDelay | No | Optional: Delay after completing the gesture in seconds. | |
preDelay | No | Optional: Delay before starting the gesture in seconds. | |
preset | Yes | The gesture preset to perform. Must be one of: scroll-up, scroll-down, scroll-left, scroll-right, swipe-from-left-edge, swipe-from-right-edge, swipe-from-top-edge, swipe-from-bottom-edge. | |
screenHeight | No | Optional: Screen height in pixels. Used for gesture calculations. Auto-detected if not provided. | |
screenWidth | No | Optional: Screen width in pixels. Used for gesture calculations. Auto-detected if not provided. | |
simulatorUuid | Yes |