execute_script
Execute JavaScript code in a specified Chrome tab using the Chrome Tools MCP Server, enabling remote control and automation of browser interactions.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes | JavaScript code to execute in the tab | |
tabId | Yes | ID of the Chrome tab to execute the script in |