Engineering Analysis · Global
Is WebKit failing to start, or is your app failing the test?
Run a blank-page check before debugging a browser regression, and report the exact runtime you tested.
By Launchr Space ·
A browser test can fail before it has tested anything. An executable mismatch or missing system dependency can stop the process before it opens a page. If CI puts that startup error next to genuine test failures, it's easy to spend an afternoon debugging an application change the browser never loaded. The first useful distinction is where the failure happened.
Start with the package and its browser
Playwright pairs releases of its test tooling with specific browser binaries. Check the version resolved by the project's lockfile, then use that project's Playwright CLI to see what it expects to install. Record the actual executable, operating system and architecture. A browser revision found in a shared cache may belong to another project's package. Don't point a runner at it just because the filename says WebKit. In CI, install using the resolved package and follow the documented instructions for system dependencies on that image.
Keep a blank-page probe handy
Use the same launch settings as the failing job, but open a blank page, set one line of content and read it back. No application server or external navigation is needed. If the browser fails before the probe can set content, gather the Playwright browser launch logs and separate the problem from the application's tests. If the probe succeeds, run a reduced test that exercises the failing behavior without application code. Then return to the real application or library test to verify the proposed fix against the same runtime.
Name the runtime when reporting results
A passing test in Chromium is a useful control, not evidence that a WebKit failure has cleared. Likewise, Playwright's patched WebKit build is not the Safari application used by customers. Use Playwright WebKit for repeatable regression tests and verify on the affected Safari version or device when the report depends on real Safari behavior. A good handoff tells the next engineer whether the browser launched, whether the application loaded, and which assertion actually failed.