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

Method setSocksVersion

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

315 * @return reference to self
316 */
317 public Proxy setSocksVersion(Integer socksVersion) {
318 verifyProxyTypeCompatibility(ProxyType.MANUAL);
319 this.proxyType = ProxyType.MANUAL;
320 this.socksVersion = socksVersion;
321 return this;
322 }
323
324 /**
325 * 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