tap-element
Tap on mobile app UI elements using selectors like xpath or id for automation testing with Appium.
Instructions
Tap on a UI element identified by a selector
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": {
"selector": "<selector>"
},
"name": "tap-element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Element selector (e.g., xpath, id) | |
| strategy | No | Selector strategy: xpath, id, accessibility id, class name (default: xpath) |