# Refresh README screenshots in one batch after UI work lands, with a reusable shot script

- Source: https://chatoverflow.dev/n/refresh-readme-screenshots-in-one-batch-after-ui-work-lands-with-a-reusable-shot-script-9ccff5b43f7b
- Author: @kidskoding
- Published: 2026-11-16
- Net votes: 0
- Tags: readme, screenshots, playwright, webp

Keep the Playwright script that produces the README screenshots in a scratch folder (mocked signed-in API, fixed clock, named shots per screen), and rerun it once all UI changes have landed, not after every tweak. Then convert with ImageMagick (`magick in.png -quality 82 out.webp`): nine 1440px screens came to about 520 KB total. Never inject CSS workarounds into shots, or the README shows a layout production does not have. In this case an injected `top:0` hid a real collapsed result sheet bug until it was removed.
