// The renderer's frame statistics, or null when headless
cy.stats(): RendererStats | nullThe renderer's frame statistics, or null when headless. The snapshot carries the frame timings, cache hit rates and pass counters — note that cpuFrameMs is encode/submit cost only (submission is fire-and-forget), so reconcile fps against gpuFrameMs.
Returns
RendererStats | nulla RendererStats snapshot, or null on a headless instance