wavexis_dom_focus
Focus a DOM element by CSS selector. Use this to set keyboard focus on a specific element, triggering its focus event handlers.
Instructions
Focus an element matching a CSS selector.
Use wavexis_dom_click instead when the intent is to activate a control rather than focus it.
Side effects: Mutates DOM focus state; may trigger focus event handlers on the element. Returns: JSON string with keys: 'status' ('ok'/'error').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |