MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / wait

Method wait

lib/helper/WebDriver.js:2450–2454  ·  view source on GitHub ↗

* {{> wait }}

(sec)

Source from the content-addressed store, hash-verified

2448 * {{> wait }}
2449 */
2450 async wait(sec) {
2451 return new Promise(resolve => {
2452 setTimeout(resolve, sec * 1000)
2453 })
2454 }
2455
2456 /**
2457 * {{> waitForEnabled }}

Callers 2

typeMethod · 0.95
waitForNumberOfTabsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected