mqscript_swipe
Execute touchscreen swipe gestures between specified coordinates with controlled duration for mobile automation testing and device control.
Instructions
Swipe from one point to another with specified duration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Swipe duration in milliseconds | |
| x1 | Yes | Starting X coordinate | |
| x2 | Yes | Ending X coordinate | |
| y1 | Yes | Starting Y coordinate | |
| y2 | Yes | Ending Y coordinate |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"default": 500,
"description": "Swipe duration in milliseconds",
"type": "number"
},
"x1": {
"description": "Starting X coordinate",
"type": "number"
},
"x2": {
"description": "Ending X coordinate",
"type": "number"
},
"y1": {
"description": "Starting Y coordinate",
"type": "number"
},
"y2": {
"description": "Ending Y coordinate",
"type": "number"
}
},
"required": [
"x1",
"y1",
"x2",
"y2"
],
"type": "object"
}