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

Method has

javascript/selenium-webdriver/lib/capabilities.js:312–314  ·  view source on GitHub ↗

* @param {string} key the key to test. * @return {boolean} whether this capability set has the specified key.

(key)

Source from the content-addressed store, hash-verified

310 * @return {boolean} whether this capability set has the specified key.
311 */
312 has(key) {
313 return this.map_.has(key)
314 }
315
316 /**
317 * @return {!Iterator<string>} an iterator of the keys set.

Callers 4

createLogger_Method · 0.45
filterNonW3CCapsFunction · 0.45
encodeErrorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected