ui_click
Click a UI element by AutomationId, Name, ControlType, or XPath. Uses cached coordinates or falls back to pywinauto search. Ensure app is not stopped at a breakpoint.
Instructions
Click on a UI element.
Note: If app is STOPPED at breakpoint, resume with continue_execution() first.
Tries cached coordinates first (from last ui_get_window_tree call), then falls back to pywinauto element search.
Args: automation_id: AutomationId property name: Element's Name/Title property control_type: Control type
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| automation_id | No | ||
| name | No | ||
| control_type | No | ||
| root_id | No | ||
| xpath | No |