Skip to content

feat(dashboard): Add --cdp flag to show --port for remote browser debugging#40776

Closed
Ishita-Jinturkar wants to merge 3 commits into
microsoft:mainfrom
Ishita-Jinturkar:feat/dashboard-cdp-support
Closed

feat(dashboard): Add --cdp flag to show --port for remote browser debugging#40776
Ishita-Jinturkar wants to merge 3 commits into
microsoft:mainfrom
Ishita-Jinturkar:feat/dashboard-cdp-support

Conversation

@Ishita-Jinturkar
Copy link
Copy Markdown
Contributor

@Ishita-Jinturkar Ishita-Jinturkar commented May 11, 2026

Summary

  • Add --cdp flag to npx playwright show command
  • Connect Dashboard to remote browser via Chrome DevTools Protocol
  • Enable hosting Dashboard without local browser installations

Fixes #40728

Ishita Jinturkar added 2 commits May 11, 2026 18:02
Dashboard interactive clicks now work with connectOverCDP(), Android, and iOS remote debugging by falling back to window.innerWidth/innerHeight when viewport is null.

Fixes: microsoft#40625
Add --cdp flag to 'npx playwright show' command to connect Dashboard
to a remote browser via Chrome DevTools Protocol instead of requiring
local browser installations.
@Ishita-Jinturkar Ishita-Jinturkar force-pushed the feat/dashboard-cdp-support branch from e3a6f4b to 7fa6de2 Compare May 11, 2026 12:33
- Remove trailing spaces
- Use gracefullyProcessExitDoNotHang instead of process.exit
- Remove unused variable vp
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@Ishita-Jinturkar Ishita-Jinturkar force-pushed the feat/dashboard-cdp-support branch from 3e68685 to e49f713 Compare May 12, 2026 15:22
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

1 failed
❌ [msedge] › mcp/annotate.spec.ts:427 › should switch screencast to -s session on show --annotate @mcp-windows-latest-msedge

7069 passed, 1068 skipped


Merge workflow run.

@Ishita-Jinturkar Ishita-Jinturkar changed the title feat(dashboard): add CDP endpoint support feat(dashboard): Add --cdp flag to show --port for remote browser debugging May 12, 2026
@pavelfeldman
Copy link
Copy Markdown
Member

This does not match our understanding of the functionality and existing abstractions, closing.

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.

[Feature]: Add --cdp flag to show --port for remote browser debugging

2 participants