Wait for
wait_forPoll the macOS UI tree until a selector appears or timeout, enabling automation to synchronize with dynamic interface states.
Instructions
Poll the UI tree until a selector appears, or time out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pollMs | No | Default 100. | |
| window | No | ||
| selector | Yes | ||
| timeoutMs | No | Default 5000. |