ios_wait_for
Wait for specified text to appear or disappear on the iOS screen. Returns as soon as the condition holds or reports failure on timeout, enabling reliable UI verification.
Instructions
Wait for something to appear or disappear.
Prefer this over guessing a sleep. It returns as soon as the condition holds, and reports failure rather than raising, so a timeout is something you can reason about.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to wait for, matched case-insensitively. | |
| absent | No | Wait for the text to disappear instead of appear. | |
| timeout_s | No | How long to wait. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||