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

Function seeElementInDOMError

lib/helper/errors/ElementAssertion.js:12–17  ·  view source on GitHub ↗
(locator)

Source from the content-addressed store, hash-verified

10}
11
12function seeElementInDOMError(locator) {
13 if (typeof locator === 'object') {
14 locator = JSON.stringify(locator)
15 }
16 throw new Error(`${prefixMessage} "${new Locator(locator)}" is still seen in DOM.`)
17}
18
19function dontSeeElementError(locator) {
20 if (typeof locator === 'object') {

Callers 3

dontSeeElementInDOMMethod · 0.90
dontSeeElementInDOMMethod · 0.90
dontSeeElementInDOMMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected