chrome_evaluate
Run JavaScript in a Chrome tab's page context via the debugger by passing an expression, and receive the JSON-serializable result for browser automation and page inspection.
Instructions
Run JavaScript in a tab's page context (via the debugger). Pass an expression; the JSON-serializable result is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Chrome tab id (default: active tab) | |
| expression | Yes |