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

Method setProxyType

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

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

Calls 1