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

Function expectedFailure

javascript/selenium-webdriver/test/lib/until_test.js:270–272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

268 executor.on(CommandName.FIND_ELEMENTS, () => [])
269
270 function expectedFailure() {
271 fail('expected condition to timeout')
272 }
273
274 return driver.wait(until.elementLocated(locator), 100).then(expectedFailure, function (error) {
275 var expected = 'Waiting for element to be located ' + locatorStr

Callers

nothing calls this directly

Calls 1

failFunction · 0.70

Tested by

no test coverage detected