focus_element
Sets input focus to a UI element identified by elementId, preparing it for keyboard interactions such as send_keys.
Instructions
Set focus to an element via the UIA Focus pattern (windows: setFocus). Required before keyboard-driven interactions such as send_keys on a specific control.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Element ID returned by find_element |