ui_get_focused_element
Get the focused UI element's automation ID, name, control type, and value to verify focus after set_focus or tab navigation in .NET desktop applications.
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 | |||