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

Method setSocksUsername

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

Specifies a username for the SOCKS proxy. Supported by SOCKS v5 and above. @param username username for the SOCKS proxy @return reference to self

(String username)

Source from the content-addressed store, hash-verified

338 * @return reference to self
339 */
340 public Proxy setSocksUsername(String username) {
341 verifyProxyTypeCompatibility(ProxyType.MANUAL);
342 this.proxyType = ProxyType.MANUAL;
343 this.socksUsername = username;
344 return this;
345 }
346
347 /**
348 * Gets the SOCKS proxy's password. 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