ui_wait_for
Wait for a UI element to appear by automation ID, name, or control type, polling every 500ms within a configurable timeout, with optional root scope or XPath.
Instructions
Wait for a UI element to appear within timeout.
Polls every 500ms until the element is found or timeout expires. Useful for waiting for dialogs, popups, or dynamically created elements.
Args: automation_id: AutomationId to wait for name: Element name to wait for control_type: Control type to wait for timeout: Maximum wait time in seconds (default 5) root_id: Optional AutomationId to scope search to a subtree xpath: Optional XPath expression (FlaUI backend only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | No | ||
| name | No | ||
| control_type | No | ||
| timeout | No | ||
| root_id | No | ||
| xpath | No |