Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.5k
-
Previously I used the following codes: options.add_argument('--load-extension=') And this worked, but now it doesn't work anymore in Selenium, not even using SeleniumBase. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 3 comments 9 replies
-
I created this ticket for overseeing the issue:#4053. It's related to changes in Chrome 142. |
BetaWas this translation helpful?Give feedback.
All reactions
-
@mdmintz - seleniuimbase stopped authenticating proxy credentials for me, is this related to this? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Yes, related to a Chrome 142 change. I'm working on the fix. Expect a new release soon. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Still no fix? |
BetaWas this translation helpful?Give feedback.
All reactions
-
The proxy auth fix was already rolled out. Now auth happens when activating CDP Mode if you’re using UC Mode. Upgrade to a newer version of SeleniumBase if you experience any issues with proxy auth. |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
![]() with SB(uc=True, |
BetaWas this translation helpful?Give feedback.
All reactions
-
BetaWas this translation helpful?Give feedback.
All reactions
-
fromtypingimportLiteralfromseleniumbaseimportDriverfromseleniumbase.coreimportproxy_helperdefcreate_driver(browser:Literal["chrome","firefox"]="chrome",headless:bool=False,proxy:bool=False,selenium_wire:bool=False,):ifproxy:proxy_helper.create_proxy_ext(proxy_string="pr.oxylabs.io:7777",proxy_user="user",proxy_pass="password")driver=Driver(browser=browser,headless=headless,# uc_cdp=True,# uc=True,incognito=True,ad_block_on=True,do_not_track=True,# undetectable=True,# uc_cdp_events=True,use_wire=selenium_wire,extension_dir="downloaded_files/proxy", )driver.maximize_window()returndriver When I use the driver like this, the proxy and ad_block works. But if I uncomment any of those parameters (uc_cdp, uc, undetectable, uc_cdp_events) they dont work. Am I doing anything wrong? |
BetaWas this translation helpful?Give feedback.
All reactions
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
When using UC Mode, you have to call Proxy auth is set via CDP now, rather than via extension. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
Thanks for the quick reply! Proxy auth is working now. |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1
-
And how do you change proxy via CDP,@mdmintz? Can you provide an example for it? |
BetaWas this translation helpful?Give feedback.
All reactions
-
Proxy is set in the beginning, and auth takes effect when activating CDP Mode: fromseleniumbaseimportSBwithSB(uc=True,proxy="USER:PASS@IP:PORT")assb:sb.activate_cdp_mode(url) |
BetaWas this translation helpful?Give feedback.

