Wait for Android UI
mobile_ui_waitWait for a specific UI element to appear on an Android device by polling accessibility nodes, with configurable timeout and matching criteria.
Instructions
Poll until a matching accessibility node appears or the bounded timeout expires.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| exact | No | ||
| pollMs | No | ||
| serial | Yes | Exact ADB serial from mobile_devices_list; never inferred when multiple devices exist | |
| displayId | Yes | Android framework logical display ID, not a SurfaceFlinger physical ID | |
| timeoutMs | No | ||
| resourceId | No | ||
| contentDescription | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| found | Yes | ||
| matches | Yes | ||
| attempts | Yes | ||
| elapsedMs | Yes |