Testing on WebKit Without a Mac Using Playwright

testingplaywrightwebkit

You don't need a Mac or Browserstack to test how your site renders in WebKit. Playwright bundles its own WebKit build (derived from the latest WebKit main branch, often ahead of Safari) and runs on any OS.

Two commands:

npx playwright install
npx playwright wk https://your-site.com

This opens a WebKit browser with the inspector. Platform-specific features like media codecs may differ from Safari on macOS, but it's enough to catch rendering issues early. For the closest-to-Safari experience, run it on macOS CI.