execute_script
Run custom JavaScript code within Firefox browser tabs using Playwright for automation, enabling multi-tab debugging and browser control via MCP-enabled applications.
Instructions
Execute JavaScript in the browser
Input Schema
Name | Required | Description | Default |
---|---|---|---|
script | Yes | ||
tabId | No |
Input Schema (JSON Schema)
{
"properties": {
"script": {
"type": "string"
},
"tabId": {
"type": "string"
}
},
"required": [
"script"
],
"type": "object"
}