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

Method setProxy

javascript/selenium-webdriver/index.js:393–396  ·  view source on GitHub ↗

* Sets the proxy configuration for the target browser. * Any calls to #withCapabilities after this function will * overwrite these settings. * * @param {!./lib/proxy.Config} config The configuration to use. * @return {!Builder} A self reference.

(config)

Source from the content-addressed store, hash-verified

391 * @return {!Builder} A self reference.
392 */
393 setProxy(config) {
394 this.capabilities_.setProxy(config)
395 return this
396 }
397
398 /**
399 * Sets the logging preferences for the created session. Preferences may be

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected