android_uiautomator_wait
Wait for a specific UI element to appear on an Android device by its resource ID, with configurable timeout for automated testing and interaction.
Instructions
Wait for a UI element to appear by resource ID
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": {
"resourceId": "<resourceId>"
},
"name": "android_uiautomator_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resourceId | Yes | Resource ID of the element to wait for | |
| timeoutMs | No | Maximum time to wait in milliseconds (default: 5000) | |
| deviceSerial | No | Specific device serial number to target (optional) |