Playwright

Playwright drives a real browser through a static site the way readers use it, which makes it the tool for the parts of a static site that can break without the HTML changing: search and its index files, menus and focus handling, version switchers, forms backed by functions. The guides below use it in three places — on every pull request, against preview deploys, and on a schedule against production.

Two guides go beyond pass or fail. One measures layout shift and interaction latency inside existing tests, catching the regressions Lighthouse cannot see because it never clicks or scrolls. Another works through the causes of flaky runs against previews — the wrong deploy, cold caches, timing assumptions and third-party scripts — because a suite that fails one run in six stops being trusted.

Stages at which the Playwright guides test a static site Four stages. Pull request tests against the built site cover search, navigation and vitals. Smoke tests run against the preview deploy. Scheduled synthetic checks run against production. Traces from failures feed back into fixes. Where Playwright runs in the pipeline Pull request full suite on the build Preview deploy smoke subset Production scheduled checks Traces evidence for fixes
The same flows appear at every stage, with fewer tests further right.

Core Web Vitals Optimization for SSGs

Number of Playwright guides of each kind Vertical bars: How-tos 6, Fixes 1, Comparisons 0 and Concepts 0. Playwright guides by kind 6 How-tos 1 Fixes 0 Comparisons 0 Concepts
7 guides use Playwright in depth; each is listed below under the section it belongs to.

Production-Ready Deployment & CI/CD for SSGs

Topics with the most Playwright guides Horizontal bars, largest first: Testing Static Sites in CI 4, Preview Environments for Pull Requests 1, Performance Budgets and Lighthouse CI 1 and Monitoring Static Sites in Production 1. Where Playwright comes up Testing Static Sites in CI 4 Preview Environments for Pull Requests 1 Performance Budgets and Lighthouse CI 1 Monitoring Static Sites in Production 1
Topic pages give the wider context for each group; the numbers count only guides that use this tool in depth.

Often used with Playwright

  • Lighthouse1 shared guidesBudgets, Lighthouse CI and lab against field data.