tap-by-ios-predicate
Tap on iOS app elements using predicate strings for mobile automation testing. This tool identifies elements with predicates like 'name == "Login"' and performs tap actions to simulate user interactions.
Instructions
Tap on an element using iOS predicate string (iOS only)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"predicateString": "<predicateString>"
},
"name": "tap-by-ios-predicate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| predicateString | Yes | iOS predicate string (e.g., 'name == "Login"') | |
| timeoutMs | No | Timeout in milliseconds (default: 10000) |