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

Method constructor

javascript/selenium-webdriver/lib/input.js:218–221  ·  view source on GitHub ↗

* @param {Device.Type} type the input type. * @param {string} id a unique ID for this device.

(type, id)

Source from the content-addressed store, hash-verified

216 * @param {string} id a unique ID for this device.
217 */
218 constructor(type, id) {
219 /** @private @const */ this.type_ = type
220 /** @private @const */ this.id_ = id
221 }
222
223 /** @return {!Object} the JSON encoding for this device. */
224 toJSON() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected