fix: enable extensions when connecting to existing Chrome#1171
fix: enable extensions when connecting to existing Chrome#1171luisnomad wants to merge 2 commits intoChromeDevTools:mainfrom
Conversation
|
Thank you for your contribution. Please submit an issue describing your use case before we can act on your PR. Specifically let us know if you think you are addressing a bug or implementing a new feature. |
|
Thanks. I believe this PR is fixing a bug rather than adding a new feature. Extension-related behavior already exists in the server, and The result is that extension pages/service workers are not exposed consistently when attaching to an existing Chrome instance via I think #1072 is the closest existing issue for this area. My use case is attaching to an already-running Chrome profile and inspecting extension contexts there, rather than launching a separate isolated browser. If you’d prefer a dedicated bug issue for this narrower case, I can open one and link it here. |
|
Follow-up: I think #1072 is only adjacent context and not the exact issue this PR addresses. I opened #1173 to track the specific bug here: I think #1173 is the better issue to associate with this PR. |
|
Follow-up: I updated #1173 to reflect the maintainer guidance that the current behavior is intentional and that this should be discussed as a feature request rather than a bug. With that framing, this PR should be read as a prototype for a narrower feature: exposing extension pages/service workers in attached-browser mode, not enabling the full extension-management toolset over WebSocket-based attach flows. If that narrower direction is acceptable, I can rework the PR around that supported subset. |
|
Thanks for the PR but we already have extension implementation in progress. Stay tuned! |
Summary
enableExtensionsthrough the connected-browser path for--browserUrl,--wsEndpoint, and--autoConnect--category-extensionsapplies when connecting to an existing Chrome instanceTesting