Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
driver
Function · 0.85
_wait_until
Method · 0.85
Until
Method · 0.85
Calls
2
resolve
Function · 0.85
reject
Function · 0.85
Tested by
1
driver
Function · 0.68