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

Function expectError

javascript/selenium-webdriver/test/lib/webdriver_test.js:1413–1413  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

1411 const alert = driver.switchTo().alert()
1412
1413 const expectError = (v) => assert.strictEqual(v, e)
1414
1415 return alert
1416 .getText()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected