Skip to content

Setting Proxies at execution time #771

Answered by mdmintz
acpn asked this question in Q&A

You must be logged in to vote

@acpn You can set the proxy dynamically by adding the following line in a script:

self.get_new_driver(proxy="SERVER:PORT")

That will open a new browser window, and all commands after that will be executed from that window.

Replies: 2 comments 2 replies

You must be logged in to vote
1 reply
@acpn

Answer selected by mdmintz

You must be logged in to vote
1 reply
@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