MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / seeElementInDOM

Method seeElementInDOM

lib/helper/WebDriver.js:1675–1682  ·  view source on GitHub ↗

* {{> seeElementInDOM }} *

(locator)

Source from the content-addressed store, hash-verified

1673 *
1674 */
1675 async seeElementInDOM(locator) {
1676 const res = await this._res(locator)
1677 try {
1678 return empty('elements').negate(res)
1679 } catch (e) {
1680 dontSeeElementInDOMError(locator)
1681 }
1682 }
1683
1684 /**
1685 * {{> dontSeeElementInDOM }}

Callers

nothing calls this directly

Calls 4

_resMethod · 0.95
emptyFunction · 0.90
dontSeeElementInDOMErrorFunction · 0.90
negateMethod · 0.80

Tested by

no test coverage detected