Evaluate JavaScript
browser_evaluateExecute custom JavaScript in the active page context and return JSON-serializable values for debugging, scraping, or automation.
Instructions
Evaluate arbitrary JavaScript code in the context of the current page and return the result (JSON-serializable values only).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The JavaScript code to evaluate in the page context |