wb_evaluate
Execute JavaScript in the active browser page to retrieve data or manipulate state, returning compact JSON output.
Instructions
Run JavaScript in the page. Prefer compact JSON.stringify returns. Wrap multi-call state in an IIFE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| session | No | Per-call session override (does not change the process default) |