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

Method constructor

javascript/selenium-webdriver/safari.js:60–68  ·  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

58 * capabilities to initialize this instance from.
59 */
60 constructor(other = undefined) {
61 super(other)
62
63 /** @private {!Object} */
64 this.options_ = this.get(OPTIONS_CAPABILITY_KEY) || {}
65
66 this.set(OPTIONS_CAPABILITY_KEY, this.options_)
67 this.setBrowserName(Browser.SAFARI)
68 }
69
70 /**
71 * Instruct the SafariDriver to use the Safari Technology Preview if true.

Callers

nothing calls this directly

Calls 3

getMethod · 0.65
setMethod · 0.65
setBrowserNameMethod · 0.45

Tested by

no test coverage detected