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

Method runInWeb

lib/helper/Appium.js:534–540  ·  view source on GitHub ↗

* Execute code only in Web mode. * * ```js * I.runInWeb(() => { * I.waitForElement('#data'); * I.seeInCurrentUrl('/data'); * }); * ``` *

()

Source from the content-addressed store, hash-verified

532 */
533
534 async runInWeb() {
535 if (!this.isWeb) return
536 recorder.session.start('Web-only actions')
537
538 recorder.add('restore from Web session', () => recorder.session.restore(), true)
539 return recorder.promise()
540 }
541
542 _runWithCaps(caps, fn) {
543 if (typeof caps === 'object') {

Callers

nothing calls this directly

Calls 2

startMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected