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

Method findElement

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

* Locates an element on the page. If the element cannot be found, a * error.NoSuchElementError will be returned by the driver. * * This function should not be used to test whether an element is present on * the page. Rather, you should use #findElements: * * dri

(locator)

Source from the content-addressed store, hash-verified

576 * element will be invalidated and all scheduled commands aborted.
577 */
578 findElement(locator) {} // eslint-disable-line
579
580 /**
581 * Search for multiple elements on the page. Refer to the documentation on

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected