Proxy is not working on a pc and working on another #4090
-
|
from seleniumbase import SB PROXY = "USER:PASS@HOST:PORT" with SB(uc=True, proxy=PROXY) as sb: this same code opens on my pc with extension appearing and proxy is working |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Note that proxy auth doesn't take effect in UC Mode until after you've activated CDP Mode (because CDP sets the proxy). Therefore, the first thing you should do when the browser launches is |
Beta Was this translation helpful? Give feedback.
-
|
Thank you |
Beta Was this translation helpful? Give feedback.
Note that proxy auth doesn't take effect in UC Mode until after you've activated CDP Mode (because CDP sets the proxy). Therefore, the first thing you should do when the browser launches is
activate_cdp_mode(), otherwise you'll hit an auth pop-up when going to any site before that.