Skip to content

Aftermath of the fixes for Chrome v137+ extensions #3778

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mdmintz opened this issue May 28, 2025 · 2 comments
Open

Aftermath of the fixes for Chrome v137+ extensions #3778

mdmintz opened this issue May 28, 2025 · 2 comments
Assignees
Labels
documentation Fun Something big happened / (maybe some sarcasm)

Comments

@mdmintz
Copy link
Member

mdmintz commented May 28, 2025

Aftermath of the fixes for Chrome v137+ extensions

In case anyone missed the news of https://support.google.com/chrome/a/answer/7679408?sjid=11437610768047552203-NA#chromeBrsrE137, Chrome 137 removed the --load-extension command-line flag for regular Chrome (non-Chromium) builds. This led to #3771, which was mostly resolved in SB 4.39.1 - https://github.com/seleniumbase/SeleniumBase/releases/tag/v4.39.1. The chart below shows the current situation:


Using extensions on the Official Google Chrome with various SeleniumBase modes.

Extension with Mode Before Chrome 137 Chrome 137 Arrives After 4.39.1 Patch
Auth Proxy extension (Regular SB)
Auth Proxy extension (Pure CDP) ✅ - (w/o extension)
Auth Proxy extension (UC + CDP)
All Other extensions (Regular SB)
All Other extensions (Pure CDP)
All Other extensions (UC + CDP)

The same solution that worked for Regular SB and UC Mode (or UC Mode + CDP Mode) didn't work for Pure CDP Mode. That solution involved using --disable-features=DisableLoadExtensionCommandLineSwitch to prevent the removal of the --load-extension switch. However, I was able to figure out how to do auth proxy with pure CDP without an extension. Since auth proxy is the most-used feature, that should handle most people's situations.

Long story short, there were a few days of "chaos", but we're mostly back to normal. Since there were multiple workarounds over those three days (as listed in #3771 (comment)), there was probably less "chaos" than most people realize. Most of those workarounds will probably work for the Pure CDP Mode extension users who want more than just auth proxy. However, the situation is resolved for most users. (See the chart above.)

@mdmintz mdmintz self-assigned this May 28, 2025
@mdmintz mdmintz added documentation Fun Something big happened / (maybe some sarcasm) labels May 28, 2025
@seleniumghost
Copy link

It was mentioned here that --disable-features=DisableLoadExtensionCommandLineSwitch is to be expected to be a temporary solution only.

@mdmintz
Copy link
Member Author

mdmintz commented May 30, 2025

As of yet, there's no indication of when --disable-features=DisableLoadExtensionCommandLineSwitch is being removed. It may stay awhile if there are enough objections to its removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Fun Something big happened / (maybe some sarcasm)
Projects
None yet
Development

No branches or pull requests

2 participants