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

Method _extractDataFromPerformanceTiming

lib/helper/Puppeteer.js:729–738  ·  view source on GitHub ↗
(timing, ...dataNames)

Source from the content-addressed store, hash-verified

727 }
728
729 _extractDataFromPerformanceTiming(timing, ...dataNames) {
730 const navigationStart = timing.navigationStart
731
732 const extractedData = {}
733 dataNames.forEach(name => {
734 extractedData[name] = timing[name] - navigationStart
735 })
736
737 return extractedData
738 }
739
740 /**
741 * {{> amOnPage }}

Callers 1

amOnPageMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected