qt_wait_for
Waits for a Qt UI state change—such as widget visibility or property value—and returns when the condition is met or the timeout expires.
Instructions
Wait for a UI state change.
Args: condition: One of 'widget_visible', 'window_count_changed', 'property_equals'. timeout_ms: Max time to wait in milliseconds (default 5000). object_name: Widget objectName (for widget_visible). ref: Widget ref (for property_equals). property_name: Property name (for property_equals). value: Expected value (for property_equals).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| value | No | ||
| instance | No | ||
| condition | Yes | ||
| timeout_ms | No | ||
| object_name | No | ||
| property_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |