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

Method setSocksUsername

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

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