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

Method _getContext

lib/helper/Puppeteer.js:2492–2497  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2490 }
2491
2492 async _getContext() {
2493 if (this.context && this.context.constructor.name === 'CdpFrame') {
2494 return this.context
2495 }
2496 return this.page
2497 }
2498
2499 /**
2500 * {{> waitInUrl }}

Callers 15

_locateCheckableMethod · 0.95
fillFieldMethod · 0.95
appendFieldMethod · 0.95
selectOptionMethod · 0.95
executeScriptMethod · 0.95
waitForEnabledMethod · 0.95
waitForValueMethod · 0.95
waitForElementMethod · 0.95
waitForVisibleMethod · 0.95
waitForInvisibleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected