MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / setSocksProxy

Method setSocksProxy

java/src/org/openqa/selenium/Proxy.java:328–333  ·  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

326 * @return reference to self
327 */
328 public Proxy setSocksProxy(String socksProxy) {
329 verifyProxyTypeCompatibility(ProxyType.MANUAL);
330 this.proxyType = ProxyType.MANUAL;
331 this.socksProxy = socksProxy;
332 return this;
333 }
334
335 /**
336 * 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