wavexis_shadow_eval
Evaluate JavaScript expressions inside shadow DOM trees using a CSS selector chain that pierces shadow boundaries. Returns status and result as JSON.
Instructions
Evaluate a JavaScript expression inside a shadow DOM tree.
Pierces shadow boundaries using the provided selector chain: selectors[0] is in the
main document, selectors[1] in selectors[0].shadowRoot, and so on.
Use wavexis_shadow_click or wavexis_shadow_fill for standard interactions instead of raw JS.
Side effects: Arbitrary; executes user-supplied JavaScript within the shadow DOM context. Returns: JSON string with keys: 'status' ('ok'/'error'), 'result' (any).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |