wait_for_element
Wait for a UI element to appear on screen by polling at regular intervals, with configurable timeout and matching by text or resource ID.
Instructions
Wait until a UI element matching the query appears on screen, polling at regular intervals
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Visible text or content-desc; regex full-match — use .* for partial, e.g. 'Sign.*' | |
| device_id | No | Target device ID. If omitted, uses the default device. | |
| timeout_ms | No | Maximum time to wait in milliseconds (default: 10000) | |
| resource_id | No | Bare resource-id, e.g. login_button; regex full-match | |
| poll_interval_ms | No | Polling interval in milliseconds (default: 500) |