wavexis_dom_set_attr
Set a DOM attribute value on an element matched by a CSS selector in the active browser session, enabling direct property updates without reloading the page.
Instructions
Set an attribute on an element matching a CSS selector.
Use wavexis_dom_get_attr to read the current value before setting.
Side effects: Mutates the DOM by writing the attribute on the matched 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 |