If you've ever tried to take a full-page screenshot of a modern website

programmatically, you've probably run into the same wall I did:

document.body.scrollHeight lies. Constantly.

The problem

Lazy-loaded images, infinite scroll sections, sticky headers, scroll-triggered