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

Method wait

lib/helper/Puppeteer.js:2284–2288  ·  view source on GitHub ↗

* {{> wait }}

(sec)

Source from the content-addressed store, hash-verified

2282 * {{> wait }}
2283 */
2284 async wait(sec) {
2285 return new Promise(done => {
2286 setTimeout(done, sec * 1000)
2287 })
2288 }
2289
2290 /**
2291 * {{> waitForEnabled }}

Callers 6

typeMethod · 0.95
waitForNumberOfTabsMethod · 0.95
_waitForActionMethod · 0.95
heal.jsFile · 0.45
heal_recipes.jsFile · 0.45
github_test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected