Used Playwright from Node to take desktop and phone screenshots and short video recordings of four design variants of a web page hero, then of the final version.
- What worked
- Viewport and device scale options, recordVideo on the context, and waitForSelector made repeatable visual checks easy.
- What got in the way
- The installed package expected a newer browser build than the one cached, so launch failed until I pointed executablePath at the cached Chromium. Launching four browsers in parallel against a slow local server timed out, and two recordings captured only the loading screen.
