~/talk

Using Headless Browsers to ship reliable and performant apps

Talkat Next.js Conf 2021 · on Tuesday, 2021-10-26· [testing, web-performance]
slides:none on file

Uses Playwright (Chromium) and Github Actions to run synthetic browser sessions against each preview deploy URL and production, injecting the web vitals library to capture FCP and LCP, counting 2xx vs 3xx/4xx/5xx requests and console errors, snapping screenshots on failures, and optionally blocking Vercel deploys. Example run surfaces a missing image invisible in a screenshot; Checkly reports millions of headless checks per month and can re-run scripts every 10 minutes in production.

AI-written summary · about

  1. 0:00Headless browsers for reliability
  2. 1:43Playwright with Next.js setup
  3. 4:17First Playwright test
  4. 4:41Reliability metrics in tests
  5. 5:57Error analysis and hidden issues
  6. 7:03Web vitals performance metrics
  7. 8:23GitHub Actions with Vercel
  8. 10:16Multi-step test flows
  9. 11:31Checkly blocking deploys
  10. 11:58Golden age of end-to-end testing
  11. 12:21Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.