ui_wait
Waits for a specific UI element to appear or disappear before continuing, using text, content description, resource ID, or regex matching with an optional timeout.
Instructions
Wait until an element appears (or disappears with gone=true).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rid | No | Resource id. | |
| desc | No | Exact content description. | |
| gone | No | Wait for disappearance instead. | |
| text | No | Exact text. | |
| timeout | No | Seconds. | |
| label_re | No | Regex on text or description. | |
| desc_contains | No | Substring of the content description. | |
| text_contains | No | Substring of the text. |