browser_evaluate
Execute JavaScript expressions or arrow functions in a page and return JSON results, enabling bulk item extraction; optionally run in an Electron app's main process.
Instructions
Run JavaScript in the page and return its JSON result; an arrow function is called, a promise awaited. Use it to extract many items at once. In an Electron app (navigera mcp --electron), main: true runs it in the app's main process, a function getting the electron module.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| main | No | Electron only: run in the app's main process | |
| expression | Yes | A JavaScript expression or arrow function |