Skip to content

feat(mcp): add --cdp option to playwright-cli attach command#40017

Merged
yury-s merged 6 commits intomicrosoft:mainfrom
yury-s:feat-cli-cdp
Apr 2, 2026
Merged

feat(mcp): add --cdp option to playwright-cli attach command#40017
yury-s merged 6 commits intomicrosoft:mainfrom
yury-s:feat-cli-cdp

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented Apr 1, 2026

Allows connecting to an existing browser (including Electron apps launched with --remote-debugging-port) via CDP endpoint URL.

Closes microsoft/playwright-cli#229

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Allows connecting to an existing browser (including Electron apps launched
with --remote-debugging-port) via CDP endpoint URL.

Closes microsoft/playwright-cli#229
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Test results for "tests 1"

5 flaky ⚠️ [chromium-library] › library/video.spec.ts:724 › screencast › should work with video+trace `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-page] › page/page-request-continue.spec.ts:754 › propagate headers cross origin redirect after interception `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/video.spec.ts:342 › screencast › should work for popups `@chromium-ubuntu-22.04-node20`
⚠️ [chromium-library] › library/popup.spec.ts:261 › should not throw when click closes popup `@chromium-ubuntu-22.04-node22`
⚠️ [chromium-library] › library/video.spec.ts:724 › screencast › should work with video+trace `@chromium-ubuntu-22.04-node22`

39130 passed, 846 skipped


Merge workflow run.

@yury-s yury-s changed the title feat(mcp): add --cdp option to playwright-cli open command feat(mcp): add --cdp option to playwright-cli attach command Apr 2, 2026
@github-actions

This comment has been minimized.

@yury-s yury-s merged commit bf7d912 into microsoft:main Apr 2, 2026
9 of 10 checks passed
@yury-s yury-s deleted the feat-cli-cdp branch April 2, 2026 19:41
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

Test results for "MCP"

1 failed
❌ [msedge] › mcp/files.spec.ts:106 › clicking on download link emits download @mcp-windows-latest

6369 passed, 377 skipped


Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow electron as browser option

2 participants