evaluate
Run a JavaScript expression in the page and return its result, with optional frame targeting for iframes.
Instructions
Evaluate a JavaScript expression in the page (top frame by default) and return its value. Use frame (e.g. f1) to target an iframe. Never trigger alert/confirm/prompt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | ||
| tabId | Yes | Tab id from tabs_context | |
| expression | Yes |