browser-testing
Installation
SKILL.md
Performance Measurement with Playwright CDP
Diagnose performance issues by measuring actual load times and network activity.
Playwright is pre-installed. Just use the measurement script.
Quick Start
A measure.ts script is included in this skill's directory. Find it and run:
# Measure a page (outputs JSON with waterfall data)
npx ts-node <path-to-this-skill>/measure.ts http://localhost:3000
# Measure an API endpoint
npx ts-node <path-to-this-skill>/measure.ts http://localhost:3000/api/products
The script is in the same directory as this SKILL.md file.