wait_for_ui_node
Polls Android UI Automator until a node with exact text, resource-id, content-desc, or focus appears. Configurable timeout and poll interval.
Instructions
Poll Android UI Automator until a node matching exact text, resource_id, content_desc, and/or focused state exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Exact node text to match | |
| focused | No | Whether the node must currently be focused | |
| timeout_ms | No | ||
| resource_id | No | Exact UI Automator resource-id to match | |
| content_desc | No | Exact content-desc to match | |
| device_serial | No | ADB serial such as emulator-5554, a USB serial, or host:port. If omitted, the active device is used; a sole ready device is selected automatically. | |
| poll_interval_ms | No |