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

Method usingHttpAgent

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

* Sets the http agent to use for each request. * If this method is not called, the Builder will use http.globalAgent by default. * * @param {http.Agent} agent The agent to use for each request. * @return {!Builder} A self reference.

(agent)

Source from the content-addressed store, hash-verified

307 * @return {!Builder} A self reference.
308 */
309 usingHttpAgent(agent) {
310 this.agent_ = agent
311 return this
312 }
313
314 /**
315 * @return {http.Agent} The http agent used for each request

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected