Swipe Screen
mobile_swipe_on_screenSwipe on Android or iOS screens by specifying direction, optional start point, and swipe distance to automate scrolls and navigation during mobile testing.
Instructions
Swipe on the screen
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | The x coordinate to start the swipe from, in pixels. If not provided, uses center of screen | |
| y | No | The y coordinate to start the swipe from, in pixels. If not provided, uses center of screen | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| distance | No | The distance to swipe in pixels. Defaults to 400 pixels for iOS or 30% of screen dimension for Android | |
| direction | Yes | The direction to swipe |