Need Help Changing Proxy Without Leaving the Browser #2615
Answered
by
mdmintz
Yanni-Benji
asked this question in
Q&A
|
I am currently facing an issue with my proxy, and I would appreciate your assistance in resolving it. Here’s my situation: I want to modify my proxy settings without leaving my web browser. Specifically, I’d like my proxy to change automatically for each request I make—whether it’s accessing a new page or refreshing an existing one. I am using an API, and the proxy format is as follows: “http://{USERNAME}:{PASSWORD}@{PROXY_DNS}.” If anyone has advice or instructions on how to achieve this, I would be very grateful. Thank you in advance for your help! |
Answered by
mdmintz
Mar 16, 2024
Replies: 1 comment 5 replies
|
Partial duplicate of #2100 (comment) (That was for To change the proxy of an active browser in the middle of a test: (
sb.set_wire_proxy("SERVER:PORT")
sb.set_wire_proxy("socks5://SERVER:PORT")
sb.set_wire_proxy("USERNAME:PASSWORD@SERVER:PORT")(Note that Wire Mode cannot be used together with UC Mode.) |
5 replies
Answer selected by
mdmintz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Partial duplicate of #2100 (comment) (That was for
BaseCase, but you're using theSB()format):To change the proxy of an active browser in the middle of a test: (
SB()format):wire=True/--wire)sb.set_wire_proxy()method:(Note that Wire Mode cannot be used together with UC Mode.)