desktop_wait
Wait up to 10 seconds for a UI condition such as window, text, element, or pixel stability to be met, then proceed with the next automation step.
Instructions
Wait up to timeout (0–10 seconds) for an observed condition. window_present/window_absent/window_active require only window_id, never a title in text; discover title matches with desktop_windows(query=...). text_equals/text_contains require only element_id and text. element_present/element_absent require window_id plus at least one name/role substring or states filter; they search native accessibility nodes, and absence requires complete coverage. pixels_stable requires window_id and optionally stable_for (0.1–10 seconds, at most timeout); it samples the client rectangle, not general application idleness. Omit parameters belonging to other condition types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| role | No | ||
| text | No | ||
| states | No | ||
| timeout | No | ||
| condition | Yes | ||
| window_id | No | ||
| element_id | No | ||
| stable_for | No |