mqscript_touch
Simulate touch and hold actions on mobile screens by specifying coordinates and duration for automated testing and device control.
Instructions
Hold touch on screen for specified duration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Duration to hold in milliseconds | |
| x | Yes | X coordinate to touch | |
| y | Yes | Y coordinate to touch |
Input Schema (JSON Schema)
{
"properties": {
"duration": {
"default": 1000,
"description": "Duration to hold in milliseconds",
"type": "number"
},
"x": {
"description": "X coordinate to touch",
"type": "number"
},
"y": {
"description": "Y coordinate to touch",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
}