Skip to content

fix(extension): notify connect page when pending connection is closed#1556

Merged
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:pending-connection-closed
Apr 17, 2026
Merged

fix(extension): notify connect page when pending connection is closed#1556
yury-s merged 1 commit intomicrosoft:mainfrom
yury-s:pending-connection-closed

Conversation

@yury-s
Copy link
Copy Markdown
Member

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

Replace the tab-inactivity timeout with a simpler approach: when the relay WebSocket closes while the connect page is still showing the tab picker, send a pendingConnectionClosed message and remove the tab from the Playwright group. Also guard Target.createTarget in the extension's forwardCDPCommand handler for old CLI clients.

Replace the tab-inactivity timeout with a simpler approach: when the
relay WebSocket closes while the connect page is still showing the tab
picker, send a `pendingConnectionClosed` message and remove the tab
from the Playwright group. Also guard `Target.createTarget` in the
extension's `forwardCDPCommand` handler for old CLI clients.
@yury-s yury-s merged commit 8f27739 into microsoft:main Apr 17, 2026
6 checks passed
PM-Labs pushed a commit to PM-Labs/mcp-playwright that referenced this pull request Apr 19, 2026
…microsoft#1556)

Replace the tab-inactivity timeout with a simpler approach: when the
relay WebSocket closes while the connect page is still showing the tab
picker, send a `pendingConnectionClosed` message and remove the tab from
the Playwright group. Also guard `Target.createTarget` in the
extension's `forwardCDPCommand` handler for old CLI clients.
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