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

Method setProxyType

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

183 * @return reference to self
184 */
185 public Proxy setProxyType(ProxyType proxyType) {
186 verifyProxyTypeCompatibility(proxyType);
187 this.proxyType = proxyType;
188 return this;
189 }
190
191 /**
192 * Whether to autodetect proxy settings.

Calls 1