puppeteer_connect_active_tab
Connect to an active Chrome tab for debugging or automation tasks. Specify a target URL or use the first available tab, and set a custom debugging port if needed. Ideal for Puppeteer-based workflows.
Instructions
Connect to an existing Chrome instance with remote debugging enabled
Input Schema
Name | Required | Description | Default |
---|---|---|---|
debugPort | No | Optional Chrome debugging port (default: 9222) | |
targetUrl | No | Optional URL of the target tab to connect to. If not provided, connects to the first available tab. |
Input Schema (JSON Schema)
{
"properties": {
"debugPort": {
"default": 9222,
"description": "Optional Chrome debugging port (default: 9222)",
"type": "number"
},
"targetUrl": {
"description": "Optional URL of the target tab to connect to. If not provided, connects to the first available tab.",
"type": "string"
}
},
"required": [],
"type": "object"
}