swipeOnScreen
Automate screen swipes in specific directions (up, down, left, right) on Android and iOS devices using predefined duration and system-inset inclusion for precise control.
Instructions
Swipe on screen in a specific direction
Input Schema
Name | Required | Description | Default |
---|---|---|---|
direction | Yes | Direction to swipe | |
duration | Yes | Duration of the swipe in milliseconds | |
includeSystemInsets | Yes | Whether to include system inset areas in the swipe | |
platform | Yes | Platform of the device |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"direction": {
"description": "Direction to swipe",
"enum": [
"up",
"down",
"left",
"right"
],
"type": "string"
},
"duration": {
"description": "Duration of the swipe in milliseconds",
"type": "number"
},
"includeSystemInsets": {
"description": "Whether to include system inset areas in the swipe",
"type": "boolean"
},
"platform": {
"description": "Platform of the device",
"enum": [
"android",
"ios"
],
"type": "string"
}
},
"required": [
"direction",
"includeSystemInsets",
"duration",
"platform"
],
"type": "object"
}