Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

proxy doesnt work anymore?#4129

Answeredbymdmintz
Hielobro asked this question inQ&A
Nov 20, 2025· 1 comments· 2 replies
Discussion options

with SB(proxy=proxy,uc=True, xvfb=True) as sb:
sb.uc_open("http://www.test.com")
print(sb.driver.page_source)
Hello, why it doesnt work anymore? I think used old version of your python library, and now it doesnt show any html body of website, only "html head /head body /body /html"
Can you please tell how the code should look like with recent versions?
I run this in docker container on ubuntu image

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.

fromseleniumbaseimportSBwithSB(uc=True,proxy="USER:PASS@IP:PORT",xvfb=True)assb: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

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

fromseleniumbaseimportSBwithSB(uc=True,proxy="USER:PASS@IP:PORT",xvfb=True)assb: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.

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

It gets stuck on opening page, is it normal? Can i download old chrome via Dockerfile somehow?

@mdmintz
Comment options

Make sure you're on the latest version of SeleniumBase; and note that there's no stealth support for Docker runs.

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

[8]ページ先頭

©2009-2025 Movatter.jp