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

Function pac

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

* Configures WebDriver to configure the browser proxy using the PAC file at * the given URL. * @param {string} proxyAutoconfigUrl URL for the PAC proxy to use. * @return {!PacConfig} A new proxy configuration object.

(proxyAutoconfigUrl)

Source from the content-addressed store, hash-verified

190 * @return {!PacConfig} A new proxy configuration object.
191 */
192function pac(proxyAutoconfigUrl) {
193 return { proxyType: Type.PAC, proxyAutoconfigUrl }
194}
195
196/**
197 * Configures WebDriver to use the current system's proxy.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected