qt_focus
Set focus on a specific UI element in a running Qt application, enabling subsequent automated interactions. Works best with QWidget; QML may require in-app focus handling.
Instructions
Set focus on a UI element.
Best effort: QWidget focus works directly; some QML items may need an explicit focus request from within the app and report ok without changing focus.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |