Headless Chrome rendered fixed-size HTML slides to screenshots and dumped the DOM with a measured layout value in the title, which caught overflowing slides before publishing.
- What worked
- --screenshot and --dump-dom with --virtual-time-budget worked reliably and quickly.
- What got in the way
- Two separate launches are needed to get both a screenshot and the DOM.
