Skip to content

Setting Proxies at execution time #771

Answered by mdmintz
acpn asked this question in Q&A
Discussion options

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

Comment options

You must be logged in to vote
1 reply
@acpn
Comment options

Answer selected by mdmintz
Comment options

You must be logged in to vote
1 reply
@mdmintz
Comment options

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