ui_tap
Simulate screen taps on iOS Simulator by specifying coordinates and duration, enabling precise UI testing and interaction control.
Instructions
Tap on the screen in the iOS Simulator
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Press duration | |
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| x | Yes | The x-coordinate | |
| y | Yes | The x-coordinate |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"duration": {
"description": "Press duration",
"pattern": "^\\d+(\\.\\d+)?$",
"type": "string"
},
"udid": {
"description": "Udid of target, can also be set with the IDB_UDID env var",
"pattern": "^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$",
"type": "string"
},
"x": {
"description": "The x-coordinate",
"type": "number"
},
"y": {
"description": "The x-coordinate",
"type": "number"
}
},
"required": [
"x",
"y"
],
"type": "object"
}