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

Method setSocksVersion

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

348 * @return reference to self
349 */
350 public Proxy setSocksVersion(Integer socksVersion) {
351 verifyProxyTypeCompatibility(ProxyType.MANUAL);
352 this.proxyType = ProxyType.MANUAL;
353 this.socksVersion = socksVersion;
354 return this;
355 }
356
357 /**
358 * 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