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

Function manual

javascript/selenium-webdriver/lib/proxy.js:149–156  ·  view source on GitHub ↗

* Manually configures the browser proxy. The following options are * supported: * * - `http`: Proxy host to use for HTTP requests * - `https`: Proxy host to use for HTTPS requests * - `bypass`: A list of hosts requests should directly connect to, * bypassing any other proxies for that req

({ http, https, bypass })

Source from the content-addressed store, hash-verified

147 * @return {!ManualConfig} A new proxy configuration object.
148 */
149function manual({ http, https, bypass }) {
150 return {
151 proxyType: Type.MANUAL,
152 httpProxy: http,
153 sslProxy: https,
154 noProxy: bypass,
155 }
156}
157
158/**
159 * Creates a proxy configuration for a socks proxy.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected