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 is not working on a pc and working on another#4090

Answeredbymdmintz
husseinhoss155 asked this question inQ&A
Discussion options

from seleniumbase import SB

PROXY = "USER:PASS@HOST:PORT"

with SB(uc=True, proxy=PROXY) as sb:

sb.open("https://whatismyipaddress.com/")input("Press Enter to close...")

this same code opens on my pc with extension appearing and proxy is working
but on another pc extension is not there (and there is AI mode beside google search when chrome opens before redirecting to url but I think this won't differ)

You must be logged in to vote

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 isactivate_cdp_mode(), otherwise you'll hit an auth pop-up when going to any site before that.

Replies: 2 comments

Comment options

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 isactivate_cdp_mode(), otherwise you'll hit an auth pop-up when going to any site before that.

You must be logged in to vote
0 replies
Answer selected bymdmintz
Comment options

Thank you
worked

You must be logged in to vote
0 replies
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
@husseinhoss155@mdmintz

[8]ページ先頭

©2009-2025 Movatter.jp