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

Method constructor

javascript/selenium-webdriver/chromium.js:238–246  ·  view source on GitHub ↗

* @param {(Capabilities|Map |Object)=} other Another set of * capabilities to initialize this instance from.

(other = undefined)

Source from the content-addressed store, hash-verified

236 * capabilities to initialize this instance from.
237 */
238 constructor(other = undefined) {
239 super(other)
240
241 /** @private {!Object} */
242 this.options_ = this.get(this.CAPABILITY_KEY) || {}
243
244 this.setBrowserName(this.BROWSER_NAME_VALUE)
245 this.set(this.CAPABILITY_KEY, this.options_)
246 }
247
248 /**
249 * Add additional command line arguments to use when launching the browser.

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
setMethod · 0.65
setBrowserNameMethod · 0.45

Tested by

no test coverage detected