focus_element

Function focus_element 

Source
pub async fn focus_element(
    __arg0: State<Arc<AppState>>,
    headers: HeaderMap,
    __arg2: Json<FocusElementReq>,
) -> (StatusCode, Json<ApiResponse<AckData>>)
Expand description

POST /agentmux/browser/focus_element — call .focus() on the first matching element. Does not synthesize a mouse event; use click_element when you want the full mouse-gesture semantics.