Wait for element
waitForElementWait for an Android UI element to appear using text, resource ID, class, or other attributes, and proceed when found or after timeout. Use to synchronize steps with dynamic screens.
Instructions
Wait until an element appears or timeout is reached.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "waitForElement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| class | No | ||
| serial | No | ||
| timeout | No | ||
| interval | No | ||
| resourceId | No | ||
| contentDesc | No | ||
| textContains | No | ||
| caseInsensitive | No | ||
| shouldBeChecked | No | ||
| shouldBeEnabled | No | ||
| shouldBeClickable | No | ||
| resourceIdContains | No | ||
| contentDescContains | No | ||
| normalizeWhitespace | No |