MCPcopy
hub / github.com/SeleniumHQ/selenium / constructor

Method constructor

javascript/selenium-webdriver/lib/webdriver.js:2532–2541  ·  view source on GitHub ↗

* @param {!WebDriver} driver the parent WebDriver instance for this element. * @param {(!IThenable |string)} id The server-assigned opaque ID for * the underlying DOM element.

(driver, id)

Source from the content-addressed store, hash-verified

2530 * the underlying DOM element.
2531 */
2532 constructor(driver, id) {
2533 /** @private {!WebDriver} */
2534 this.driver_ = driver
2535
2536 /** @private {!Promise<string>} */
2537 this.id_ = Promise.resolve(id)
2538
2539 /** @private {!Logger} */
2540 this.log_ = logging.getLogger(logging.Type.DRIVER)
2541 }
2542
2543 /**
2544 * @param {string} id The raw ID.

Callers

nothing calls this directly

Calls 1

getLoggerMethod · 0.80

Tested by

no test coverage detected