wait_text
Wait for on-screen text to appear or disappear, replacing blind sleeps with instant detection. Use for UI state changes like button flips or dialogs.
Instructions
Wait for on-screen text to appear (or disappear). Replaces blind sleeps.
Use for in-window state no compositor event covers: button flips (UPDATE→PLAY), page content, dialogs. Returns instantly on match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | ||
| target | Yes | ||
| window | No | ||
| monitor | No | ||
| timeout | No | ||
| disappear | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |