run_javascript
Evaluate JavaScript expressions within the active browser page and return the result. Run arbitrary scripts on any site to extract data, manipulate DOM, or test functionality via the SeleniumBase MCP server.
Instructions
Evaluate a JavaScript expression in the page context and return the result. This method can run any arbitrary JavaScript on any visited site. SECURITY: This provides unrestricted JavaScript execution in the browser context. Only expose this MCP server to trusted clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expression | Yes |