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

Method _withinEnd

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

Source from the content-addressed store, hash-verified

718 }
719
720 async _withinEnd() {
721 this.withinLocator = null
722 if (this.page && !this.page.isClosed?.()) {
723 this.context = await this.page.mainFrame().$('body')
724 } else {
725 this.context = null
726 }
727 }
728
729 _extractDataFromPerformanceTiming(timing, ...dataNames) {
730 const navigationStart = timing.navigationStart

Callers 2

_failedMethod · 0.95
_passedMethod · 0.95

Calls 1

$Method · 0.80

Tested by

no test coverage detected