ui_get_focused_element
Get details about the currently focused UI element, including its automation ID, name, control type, and value, to verify focus state after tab navigation or programmatic focus changes.
Instructions
Get information about the currently focused UI element.
Returns the focused element's automationId, name, controlType, and value. Useful for verifying focus state after ui_set_focus or tab navigation.
Note: Returns focus within the app window, not always OS-level dialogs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||