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

Method getCapability

javascript/selenium-webdriver/lib/session.js:61–63  ·  view source on GitHub ↗

* Retrieves the value of a specific capability. * @param {string} key The capability to retrieve. * @return {*} The capability value.

(key)

Source from the content-addressed store, hash-verified

59 * @return {*} The capability value.
60 */
61 getCapability(key) {
62 return this.caps_.get(key)
63 }
64
65 /**
66 * Returns the JSON representation of this object, which is just the string

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected