Reporter

Playwright\Performance\Reporter\ReporterInterface

$ composer require playwright-php/performance

Methods

generate()

string

Generate a performance report from Core Web Vitals and Resource Metrics.

function generate(CoreWebVitals $vitals, array $resources): string