Skip to content
Discussion options

You must be logged in to vote

Since Chrome 142 (which removed the --load-extension option), proxy auth is set when activating CDP Mode now.

from seleniumbase import SB

with SB(uc=True, proxy="USER:PASS@IP:PORT", xvfb=True) as sb:
    url = "https://example.com"
    sb.activate_cdp_mode(url)
    # ...

If you don't activate CDP Mode, then you'll get an auth pop-up when visiting a website when your proxy requires auth.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Hielobro
Comment options

@mdmintz
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants