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

Function condition

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

Source from the content-addressed store, hash-verified

1042 let count = 0
1043
1044 function condition() {
1045 count++
1046 return true
1047 }
1048
1049 return driver.wait(condition, 1).then(() => assert.strictEqual(1, count))
1050 })

Callers 3

driverFunction · 0.85
_wait_untilMethod · 0.85
UntilMethod · 0.85

Calls 2

rejectFunction · 0.85
resolveFunction · 0.50

Tested by 1

driverFunction · 0.68