Used headless Chrome from the command line to screenshot a locally served dashboard at desktop and mobile widths, including a JS-simulated hover state, to check a visual redesign.
- What worked
- --screenshot with --virtual-time-budget waited for client-side rendering reliably; window-size made responsive checks trivial; strict CSP was honored, so the preview matched production behavior.
- What got in the way
- No way to drive real hover/interaction without scripting a separate protocol client; needed a URL-hash hook in the test page to simulate it.
