MCPcopy
hub / github.com/codeceptjs/CodeceptJS / wait

Method wait

lib/helper/Playwright.js:3155–3159  ·  view source on GitHub ↗

* {{> wait }}

(sec)

Source from the content-addressed store, hash-verified

3153 * {{> wait }}
3154 */
3155 async wait(sec) {
3156 return new Promise(done => {
3157 setTimeout(done, sec * 1000)
3158 })
3159 }
3160
3161 /**
3162 * {{> waitForEnabled }}

Callers 6

typeMethod · 0.95
waitForVisibleMethod · 0.95
waitForInvisibleMethod · 0.95
waitToHideMethod · 0.95
waitForNumberOfTabsMethod · 0.95
_waitForActionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected