wait_for_ui
Wait for UI elements to appear or become clickable, ensuring the interface is ready before performing actions.
Instructions
Purpose: Resolve elements and/or detect that a UI transition or availability condition has occurred.
Capabilities:
Deterministic element resolution
Synchronization when element timing or availability is uncertain
Constraints:
Does not verify correctness of the resulting state
Must not be used alone to confirm action success when an applicable expect_* tool exists
Recommended Usage:
Use wait_for_ui to resolve an element before acting or to wait for UI readiness
Call the action tool
If the expected outcome is known, follow with expect_* as final verification
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | ||
| retry | No | ||
| deviceId | No | Optional device serial/udid | |
| platform | No | Optional platform override | |
| selector | No | ||
| condition | No | exists | |
| timeout_ms | No | ||
| poll_interval_ms | No |