Basic html tools inspired by the patterns presented at https://simonwillison.net/2025/Dec/10/html-tools/
https://fabiandistler.github.io/tools/
tests/ holds a Playwright smoke suite. It opens every root *.html at desktop and phone width and fails on console errors, page errors, failed requests or requests to other hosts. Multi-step tools also get a flow test that walks every path to the end. Every test also checks the page it ends on: it fails when the page scrolls sideways on a phone or shows NaN, Infinity or undefined. CI runs the suite on every pull request and push, and deploys to GitHub Pages only from main after it passes.
Run it locally with uv:
uv run playwright install chromium && uv run pytestOn a machine with Chrome already installed, such as a Claude Code cloud session, skip the download and use that browser:
uv run pytest --browser-channel chrome