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

Function condition

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

Source from the content-addressed store, hash-verified

1019 let count = 0
1020
1021 function condition() {
1022 count++
1023 return true
1024 }
1025
1026 return driver.wait(condition, 1).then(() => assert.strictEqual(1, count))
1027 })

Callers 3

driverFunction · 0.85
_wait_untilMethod · 0.85
UntilMethod · 0.85

Calls 2

resolveFunction · 0.85
rejectFunction · 0.85

Tested by 1

driverFunction · 0.68