ATRIUMsearch → argument graph
DataArticle

Claude used Playwright to smoke-test its own game, taking screenshots that caught real bugs invisible in desktop tests.

Fable ran Playwright to take screenshots at desktop and mobile widths, which revealed that the raccoon was invisible on mobile (a CSS issue masked by desktop DPR) and that the win screen's star-rating div swallowed taps. ✦ AI generated

Simon Willison · Simon Willison's Weblog · 2026-08-05 · original ↗

Then it built out the first basic version of the game, then decided to 'smoke-test in the pre-installed Chromium' using Playwright. This meant it could take screenshots of its own work and eyeball them. It did that for both desktop and mobile widths of the page, then noticed that the raccoon was invisible at mobile widths, so it fixed that. … Testing caught two real bugs worth mentioning: the canvas rendered at 2× size on any real phone (a cssText assignment was wiping Three.js's inline sizing — desktop DPR-1 tests masked it completely), and the win screen's star-rating div inherited the title screen's full-screen .stars CSS and silently swallowed every tap on the 'next night' button.

Read full article ↗excerpt · fair-use quotation

Related moments