M
M
MiroMichail2016-01-20 20:27:58
Python
MiroMichail, 2016-01-20 20:27:58

How to use socks proxy in Selenium WebDriver?

Hello,
Has anyone had experience setting up socks proxying in Selenium?
Preferably Javascript or Python. The browsers I'm trying to use are Chrome and Firefox.
Thanks for any help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Dubrovin, 2016-01-20
@z3apa3a

Examples of working settings are here , for chrome it is done similarly to PhantomJS, but a line like --proxy-server=socks5://server:port.
Alternatively, you can use WPAD to auto-detect proxy settings, with it you can set proxies, incl. SOCKS for individual urls/hosts.

I
Igor Nikolaev, 2016-01-20
@nightvich

Good afternoon.
I used Polipo Through Selenium, the call goes to Polipo, and he is already proxying .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question