SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

socks5 proxy with selenium2 #3714

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 3714

I tried everything, but it seems there is no way to set a socks5 proxy with selenium.

In case there is, please let me know.

I am using FirefoxDriver. Moreover, where can I find the API documentation for selenium2.

Reported by nitin.cool4urchat on 2012-04-13 06:43:57

lukeis commented 8 years ago
i don't know anything about socks5 proxy..... but i can answer your second question
(here's the links to the api docs... also linked to from the downloads page http://seleniumhq.org/download/
)

.NET: http://goo.gl/Fm3cw 
Java: http://goo.gl/kKQqM  
Ruby: http://goo.gl/cFyyT  
Python: http://goo.gl/5yWoR

Reported by luke.semerau on 2012-04-13 06:55:39

lukeis commented 8 years ago
as talked about in the user group... setting "network.proxy.socks" preference did the
trick for Firefox.

This should be added to the Java Proxy object and to the docs ( http://seleniumhq.org/docs/04_webdriver_advanced.html#using-a-proxy
)

Reported by luke.semerau on 2012-04-13 07:50:35

lukeis commented 8 years ago

Reported by barancev on 2012-05-04 17:53:40

lukeis commented 8 years ago

Reported by a.u.savchuk on 2013-09-06 16:28:03

lukeis commented 8 years ago

Here is the current status:

1. SOCKS proxy host/port/username/password:
+ java binding
+ ruby binding
+ python binding
+ dotnet binding

2. SOCKS proxy host/port:
+ firefox driver
- ie driver TODO
+ htmlunit driver
- safari driver
- opera driver TODO (Pull requst is created)
- phantomjs driver

3. SOCKS proxy credentials will be supported only at opera driver.

4. Docs are updated - DesiredCapabilities and wire.py

Reported by a.u.savchuk on 2013-09-07 15:47:53

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:44:49