MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / setSocksProxy

Method setSocksProxy

java/src/org/openqa/selenium/Proxy.java:296–301  ·  view source on GitHub ↗

Specifies which proxy to use for SOCKS. @param socksProxy the proxy host, expected format is hostname.com:1234 @return reference to self

(String socksProxy)

Source from the content-addressed store, hash-verified

294 * @return reference to self
295 */
296 public Proxy setSocksProxy(String socksProxy) {
297 verifyProxyTypeCompatibility(ProxyType.MANUAL);
298 this.proxyType = ProxyType.MANUAL;
299 this.socksProxy = socksProxy;
300 return this;
301 }
302
303 /**
304 * Gets the SOCKS version (4 or 5).

Callers 4

manualProxyToJsonMethod · 0.95
ProxyMethod · 0.95
testManualProxyMethod · 0.80

Calls 1

Tested by 3

manualProxyToJsonMethod · 0.76
testManualProxyMethod · 0.64