qt_mouse_click_region
Click the center of an element's on-screen region via real Qt input pipeline and hit testing, delivering the click to the actual interactive child (e.g., MouseArea) like a human click.
Instructions
Click at the center of an element's on-screen region.
Unlike qt_mouse_click (which delivers straight to the element), this routes through the real Qt input pipeline with real hit testing: for a QML container (e.g. a Rectangle with a MouseArea inside) the scene graph hit test delivers the click to the MouseArea, exactly as a human click would.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | No | left | |
| modifiers | No | ||
| element_id | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |