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

Method dontSeeElementInDOM

lib/helper/Playwright.js:2022–2029  ·  view source on GitHub ↗

* {{> dontSeeElementInDOM }}

(locator)

Source from the content-addressed store, hash-verified

2020 * {{> dontSeeElementInDOM }}
2021 */
2022 async dontSeeElementInDOM(locator) {
2023 const els = await this._locate(locator)
2024 try {
2025 return empty('elements on a page').assert(els.filter(v => v).fill('ELEMENT'))
2026 } catch (e) {
2027 seeElementInDOMError(locator)
2028 }
2029 }
2030
2031 /**
2032 * Handles a file download. A file name is required to save the file on disk.

Callers

nothing calls this directly

Calls 5

_locateMethod · 0.95
emptyFunction · 0.90
seeElementInDOMErrorFunction · 0.90
assertMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected