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.
Source: [Dev.to](https://dev.to/knallhartdev/the-scrollheight-lie-how-i-finally-got-full-page-screenshots-right-with-playwright-4emn)