browser_evaluate
Executes custom JavaScript in the active or specified browser tab to enable dynamic page interactions, data extraction, or automation, and returns the result.
Instructions
Executes arbitrary JavaScript in the context of the active or specified tab and returns the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Optional tab ID. | |
| script | Yes | JavaScript code to execute. |