Problem
INP replaced FID as the responsiveness Core Web Vital in March 2024, and FID was removed from Chrome tools by September 2024. The Playwright probes still only collect FID, missing the metric that actually matters for responsiveness monitoring.
Solution
Add INP collection via a PerformanceObserver init script injected before page creation. INP is reported as browser.performance.inp on document spans. FID stays for backward compatibility but is marked deprecated and recommended for removal.
Notes
- The observer tracks worst-case interaction duration rather than p98 like web-vitals; this is reasonable for synthetic probe interactions.
- INP will be
null on probes that don't include synthesized interactions (click/type). That's expected.
- FID has no removal date set; may want a follow-up to drop it in a future version.
Test plan
Pull request
#21
Problem
INP replaced FID as the responsiveness Core Web Vital in March 2024, and FID was removed from Chrome tools by September 2024. The Playwright probes still only collect FID, missing the metric that actually matters for responsiveness monitoring.
Solution
Add INP collection via a
PerformanceObserverinit script injected before page creation. INP is reported asbrowser.performance.inpon document spans. FID stays for backward compatibility but is marked deprecated and recommended for removal.Notes
nullon probes that don't include synthesized interactions (click/type). That's expected.Test plan
browser.performance.inpon the document spanPull request
#21