Skip to content

feat(webkit): support connectOverCDP(transport) for direct WVPage attach#41038

Merged
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:feat-webkit-cdp-transport
May 28, 2026
Merged

feat(webkit): support connectOverCDP(transport) for direct WVPage attach#41038
pavelfeldman merged 1 commit into
microsoft:mainfrom
pavelfeldman:feat-webkit-cdp-transport

Conversation

@pavelfeldman
Copy link
Copy Markdown
Member

Summary

  • Adds a transport-based path to WebKit's RDP connect — when a ConnectionTransport is passed, skip the /json tab listing and bring up a single context + single WVPage bound to the provided transport.
  • ConnectionTransport gains a required open() so the caller can hold off starting the RDP message pump until the Target.targetCreated listener is wired.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

Comment thread utils/generate_types/overrides.d.ts
this._ws?.close();
return;
}
try {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

combine these tries

Comment thread packages/playwright-core/src/server/webkit/webview/wvBrowser.ts Outdated
@pavelfeldman pavelfeldman force-pushed the feat-webkit-cdp-transport branch from a05ab2a to 591f47d Compare May 28, 2026 22:46
@github-actions
Copy link
Copy Markdown
Contributor

Test results for "MCP"

7207 passed, 1113 skipped


Merge workflow run.

@github-actions
Copy link
Copy Markdown
Contributor

Test results for "tests 1"

1 flaky ⚠️ [chromium-library] › library/video.spec.ts:719 › screencast › should work with video+trace `@chromium-ubuntu-22.04-node22`

43971 passed, 864 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.

2 participants