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

Method setSocksVersion

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

Specifies which version of SOCKS to use (4 or 5). @param socksVersion SOCKS version, 4 or 5 @return reference to self

(Integer socksVersion)

Source from the content-addressed store, hash-verified

316 * @return reference to self
317 */
318 public Proxy setSocksVersion(Integer socksVersion) {
319 verifyProxyTypeCompatibility(ProxyType.MANUAL);
320 this.proxyType = ProxyType.MANUAL;
321 this.socksVersion = socksVersion;
322 return this;
323 }
324
325 /**
326 * Gets the SOCKS proxy's username. Supported by SOCKS v5 and above.

Callers 4

manualProxyToJsonMethod · 0.95
ProxyMethod · 0.95
testManualProxyMethod · 0.80

Calls 1

Tested by 3

manualProxyToJsonMethod · 0.76
testManualProxyMethod · 0.64