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.
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 |