tapOn
Tap on mobile app elements by text or ID to automate testing and interactions for Android and iOS devices.
Instructions
Tap supporting text or resourceId
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": {
"action": "<action>",
"platform": "<platform>"
},
"name": "tapOn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| containerElementId | No | Container element ID to restrict the search within | |
| action | Yes | Action to perform on the element | |
| text | No | Text to tap on | |
| id | No | Element ID to tap on | |
| platform | Yes | Platform of the device |