You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Support multiple concurrent Extension clients with isolated tab groups #42015
The Playwright Chrome Extension currently supports only one active client connection per browser profile.
Reproduction
Start client A with the Playwright Extension enabled and connect it to a tab.
While client A is still connected, start client B against the same Chrome profile and connect it to another tab.
Current behavior
Connecting client B disconnects client A.
Tabs controlled by client A are removed from their Playwright tab group.
On token-bypass connections, the newly selected tab/window is brought to the foreground.
This follows the current implementation in packages/extension/src/background.ts: the extension stores a single _activeGroup, and _connectTab() calls _disconnect('Another connection is requested') before installing the new group.
Expected behavior
Multiple clients should be able to use the same browser profile concurrently:
each connection owns an independent ConnectedTabGroup;
tabs and disconnect/cleanup operations are scoped to that connection;
groups have distinct labels so users can identify their owner;
an automatic/token-bypass connection does not focus the browser window;
the status page lists and disconnects clients independently.
This is useful for parallel browser automation that needs the authenticated state of the user's existing Chrome profile. Isolated browser contexts are not always an equivalent replacement because they do not share that profile's login state.
There is already a proposed implementation with tests in #41922, but that PR was closed because it did not have a corresponding issue. I am filing this issue to provide the requested discussion/triage entry. if maintainers approve the direction, the existing contributor may be able to reopen or supersede it.
changed the title [-][MCP]: Support multiple concurrent Extension clients with isolated tab groups[/-][+][FEATURE]: Support multiple concurrent Extension clients with isolated tab groups[/+]on Jul 29, 2026
changed the title [-][FEATURE]: Support multiple concurrent Extension clients with isolated tab groups[/-][+][Feature]: Support multiple concurrent Extension clients with isolated tab groups[/+]on Jul 29, 2026
Hi, I'm the Playwright bot and I took a first look.
This is a valid feature request, and the current limitation is exactly as you describe. The bridge extension really does support only one active client per profile — I confirmed it in the source, not just the report. So there's nothing to "fix" here yet; the real question is whether we want to take the multi-connection direction.
What the source shows
In packages/extension/src/background.ts the extension keeps a single _activeGroup, and _connectTab() force-drops the previous one before installing the new group:
// _connectTab()awaitthis._cleanupPromise;this._disconnect('Another connection is requested');// ← tears down client A
...
this._activeGroup=group;// ← single active group
_disconnect() closes that one group and clears _activeGroup, so connecting client B does disconnect client A and pulls A's tabs out of their group — matching your reproduction.
Prior art
There's a proposed implementation with tests in #41922 (a connection map instead of a single _activeGroup, per-connection labeled tab groups, no focus-steal on token-bypass, per-client disconnect on the status page). It was closed for not having a corresponding issue — this issue now fills that gap. I'm a first pass and don't own the roadmap call, so I'll leave the direction to a maintainer.
Activity
[-][MCP]: Support multiple concurrent Extension clients with isolated tab groups[/-][+][FEATURE]: Support multiple concurrent Extension clients with isolated tab groups[/+][-][FEATURE]: Support multiple concurrent Extension clients with isolated tab groups[/-][+][Feature]: Support multiple concurrent Extension clients with isolated tab groups[/+]Ylandolsi commentedon Jul 30, 2026
+++1
github-actions commentedon Aug 4, 2026
Hi, I'm the Playwright bot and I took a first look.
This is a valid feature request, and the current limitation is exactly as you describe. The bridge extension really does support only one active client per profile — I confirmed it in the source, not just the report. So there's nothing to "fix" here yet; the real question is whether we want to take the multi-connection direction.
What the source shows
In
packages/extension/src/background.tsthe extension keeps a single_activeGroup, and_connectTab()force-drops the previous one before installing the new group:_disconnect()closes that one group and clears_activeGroup, so connecting client B does disconnect client A and pulls A's tabs out of their group — matching your reproduction.Prior art
There's a proposed implementation with tests in #41922 (a connection map instead of a single
_activeGroup, per-connection labeled tab groups, no focus-steal on token-bypass, per-client disconnect on the status page). It was closed for not having a corresponding issue — this issue now fills that gap. I'm a first pass and don't own the roadmap call, so I'll leave the direction to a maintainer.Triaged by the Playwright bot - agent run