eval
Execute JavaScript code in the browser's DOM context to extract or manipulate page data, returning the result as a JSON string.
Instructions
Run arbitrary JavaScript in the embedded QuickJS runtime against the current page's parsed DOM. Returns the JSON-stringified result. Power tool — prefer query/text/blockmap when the CSS selector engine can express what you need. Canonical param is code; raw JSON-RPC also accepts script or expression aliases and errors if no code-like param is present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | JS code; the value of the last expression is returned |