(locator)
| 10 | } |
| 11 | |
| 12 | function 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 | |
| 19 | function dontSeeElementError(locator) { |
| 20 | if (typeof locator === 'object') { |
no outgoing calls
no test coverage detected