MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getProxyType

Method getProxyType

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

173 * @return the proxy type employed
174 */
175 public ProxyType getProxyType() {
176 return this.proxyType;
177 }
178
179 /**
180 * 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