Playwright can mock browser requests, but not the fetches Next.js makes during SSR. How I record real API responses once and replay them on CI. It's the VCR pattern Ruby nailed years ago, rebuilt for SSR.
- Playwright
- Testing
- Next.js
- Open source
- VCR
- Polly.js