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

Method constructor

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

59 * capabilities to initialize this instance from.
60 */
61 constructor(other = undefined) {
62 super(other)
63
64 /** @private {!Object} */
65 this.options_ = this.get(OPTIONS_CAPABILITY_KEY) || {}
66
67 this.set(OPTIONS_CAPABILITY_KEY, this.options_)
68 this.setBrowserName(Browser.SAFARI)
69 }
70
71 /**
72 * 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