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

Method setProxyType

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

Explicitly sets the proxy type, useful for forcing direct connection on Linux. @param proxyType type of proxy being used @return reference to self

(ProxyType proxyType)

Source from the content-addressed store, hash-verified

177 * @return reference to self
178 */
179 public Proxy setProxyType(ProxyType proxyType) {
180 verifyProxyTypeCompatibility(proxyType);
181 this.proxyType = proxyType;
182 return this;
183 }
184
185 /**
186 * Whether to autodetect proxy settings.

Calls 1