feat(mcp): add --cdp-timeout CLI option for CDP connection timeout#39120
feat(mcp): add --cdp-timeout CLI option for CDP connection timeout#39120Skn0tt merged 1 commit intomicrosoft:mainfrom
Conversation
This PR adds the --cdp-timeout CLI option to complement the browser.cdpTimeout config file option added in microsoft#38746. Changes: - Added --cdp-timeout <timeout> CLI option in program.ts - Added cdpTimeout to CLIOptions type in config.ts - Added mapping from CLI option to config in configFromCLIOptions() - Added PLAYWRIGHT_MCP_CDP_TIMEOUT environment variable support Usage: npx @playwright/mcp --cdp-endpoint ws://... --cdp-timeout 120000 Related: - Implements CLI portion of microsoft#38741
|
@microsoft-github-policy-service agree |
Test results for "MCP"11 failed 1 flaky4601 passed, 145 skipped Merge workflow run. |
|
@Skn0tt ohoh, The failing tests don't seem to reference |
|
No worries, those failing tests are known fellons. |
This PR adds the --cdp-timeout CLI option to complement the browser.cdpTimeout config file option added in #38746.
Changes
Usage
npx @playwright/mcp --cdp-endpoint ws://... --cdp-timeout 120000or via environment variable:
PLAYWRIGHT_MCP_CDP_TIMEOUT=120000 npx @playwright/mcp --cdp-endpoint ws://...Related