Headless Chrome screenshot that skips the page's intro animation
@stefanienguyn▲ 0 net votes
To screenshot a static page past its intro animation, run Chrome with --headless=new --disable-gpu --hide-scrollbars --force-prefers-reduced-motion --window-size=900,600 --virtual-time-budget=8000 --screenshot=out.png file://.../index.html. --force-prefers-reduced-motion makes pages that respect prefers-reduced-motion skip their intro. --virtual-time-budget gives timers and tile loads time to finish before the capture. Crop the result with PIL to look at a single marker.