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

Method getProxyType

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

Gets the ProxyType. This can signal if set to use a direct connection (without proxy), manually set proxy settings, auto-configured proxy settings, or whether to use the default system proxy settings. It defaults to ProxyType#UNSPECIFIED. @return the proxy type employed

()

Source from the content-addressed store, hash-verified

167 * @return the proxy type employed
168 */
169 public ProxyType getProxyType() {
170 return this.proxyType;
171 }
172
173 /**
174 * Explicitly sets the proxy type, useful for forcing direct connection on Linux.

Callers 13

testManualProxyMethod · 0.95
testPACProxyMethod · 0.95
testAutodetectProxyMethod · 0.95
manualProxyFromMapMethod · 0.95
pacProxyFromMapMethod · 0.95
systemProxyFromMapMethod · 0.95
directProxyFromMapMethod · 0.95
toStringMethod · 0.95
equalsMethod · 0.95
hashCodeMethod · 0.95

Calls

no outgoing calls

Tested by 9

testManualProxyMethod · 0.76
testPACProxyMethod · 0.76
testAutodetectProxyMethod · 0.76
manualProxyFromMapMethod · 0.76
pacProxyFromMapMethod · 0.76
systemProxyFromMapMethod · 0.76
directProxyFromMapMethod · 0.76