Storybook & Static-Site SDKs Now Use Playwright

We migrated both the Storybook and Static-Site SDKs from Puppeteer to Playwright – and the results are dramatic. Screenshots that were timing out after 60+ seconds in CI now complete in under a second. For Storybook specifically, we added client-side navigation between stories instead of full page reloads, which gives you a 47x speedup (94 seconds down to 2 seconds for 10 screenshots). We also audited and fixed Chrome browser flags that were causing hangs in headless mode. If your Storybook or static site tests have been flaky in CI, this update should fix it.

What’s new

  • ✓ Playwright-based browser contexts for proper isolation in parallel workers
  • ✓ Client-side navigation for Storybook stories (first story loads page, subsequent stories navigate via Storybook API)
  • ✓ 47x faster Storybook captures: 94s → 2s for 10 screenshots
  • ✓ Fixed deprecated Chrome flags causing hangs (--disable-gpu + --disable-software-rasterizer)
  • ✓ Modern browser flags for screenshot consistency (--force-color-profile=srgb, --hide-scrollbars)
  • ✓ Tasks sorted by viewport to minimize resize operations