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

Method _getContext

lib/helper/Playwright.js:3411–3419  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3409 }
3410
3411 async _getContext() {
3412 if (this.context) {
3413 return this.context
3414 }
3415 if (this.frame) {
3416 return this.frame
3417 }
3418 return this.page
3419 }
3420
3421 /**
3422 * {{> waitInUrl }}

Callers 15

dragAndDropMethod · 0.95
_locateMethod · 0.95
_locateElementMethod · 0.95
_locateCheckableMethod · 0.95
_locateClickableMethod · 0.95
waitForEnabledMethod · 0.95
waitForDisabledMethod · 0.95
waitForValueMethod · 0.95
waitForElementMethod · 0.95
waitForVisibleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected