-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better
Description
Another partial fix for the Chrome 142 extension changes (auth from method arg)
In continuing the fixes for #4053, I found that passing the proxy string as a method arg wasn't going into CDP Mode, (even though the command-line arg worked).
Eg. This is currently working as expected:
python SCRIPT.py --proxy="USER:PASS@IP:PORT" for:
from seleniumbase import Driver
driver = Driver(uc=True)
driver.uc_activate_cdp_mode("https://api.ipify.org")
print(driver.get_page_source())
driver.quit()However, the proxy auth wasn't being set when passed via method arg:
python SCRIPT.py for:
from seleniumbase import Driver
driver = Driver(uc=True, proxy="USER:PASS@IP:PORT")
driver.uc_activate_cdp_mode("https://api.ipify.org")
print(driver.get_page_source())
driver.quit()(Setting it from the command-line is my usual way of doing it, so I missed the arg version.)
Metadata
Metadata
Assignees
Labels
UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things betterMaking things better