UIA (Windows UI Automation)
UIA steps interact with Windows accessibility APIs directly, without image recognition. They work even on obscured windows and are more reliable than pixel-based operations for standard Win32/WPF/WinForms controls.
Note
UIA steps are Windows-only. On other platforms they return an Unsupported error.
uia_get
Read a property of a UI element.
- uia_get:
by:
name: "Username" # accessibility label
property: value # value | name | class
save_as: username_text
Selector options:
| Key | Description |
|---|---|
name |
Element's Name property (accessibility label) |
id |
Element's AutomationId |
class |
Element's ClassName |
uia_set
Set the value of a text field.
uia_click
Click (invoke) a button or interactive element.
uia_find
Find an element and store a reference for later use.
uia_select
Select an item in a ComboBox or ListBox by its display name.
uia_check
Set the checked state of a checkbox.