Skip to content

feat(cli): list system Chrome/Edge browsers available for CDP attach#40253

Merged
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:list-cdp
Apr 16, 2026
Merged

feat(cli): list system Chrome/Edge browsers available for CDP attach#40253
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:list-cdp

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

Summary

  • playwright-cli list now enumerates installed Chrome/Edge channels (chrome, chrome-beta/dev/canary, msedge and siblings).
  • For each channel whose default user-data-dir exists, prints the reachable DevToolsActivePort endpoint with an attach --cdp=<channel> hint, or a hint to enable remote debugging via chrome://inspect/#remote-debugging.

Scan default user-data-dirs for chrome, chrome-beta/dev/canary, msedge
and siblings. If DevToolsActivePort is present and the port is
listening, show the endpoint and an attach hint; otherwise surface a
hint to enable remote debugging via chrome://inspect/#remote-debugging.
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

6070 passed, 976 skipped


Merge workflow run.

@pavelfeldman pavelfeldman merged commit de0e0d2 into microsoft:main Apr 16, 2026
10 checks passed
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.

2 participants