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

Method setSocksProxy

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

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

Callers 5

manualProxyToJsonMethod · 0.95
ProxyMethod · 0.95
testManualProxyMethod · 0.80

Calls 1