touch
Simulate precise touch events at specific coordinates in Xcode simulators. Use 'describe_ui' to identify exact positions, ensuring accurate interactions for testing.
Instructions
Perform touch down/up events at specific coordinates. Use describe_ui for precise coordinates (don't guess from screenshots).
Input Schema
Name | Required | Description | Default |
---|---|---|---|
delay | No | ||
down | No | ||
simulatorUuid | Yes | ||
up | No | ||
x | Yes | ||
y | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"delay": {
"minimum": 0,
"type": "number"
},
"down": {
"type": "boolean"
},
"simulatorUuid": {
"format": "uuid",
"type": "string"
},
"up": {
"type": "boolean"
},
"x": {
"type": "integer"
},
"y": {
"type": "integer"
}
},
"required": [
"simulatorUuid",
"x",
"y"
],
"type": "object"
}