Seems like the page.screenshot is not running exactly the same between headless and headful for websites with big height. The headful one got multiple replicated portions of the website, whereas the headless one is what I want. Please find below a way to replicate my issue.
Seems like the
page.screenshot
is not running exactly the same between headless and headful for websites with big height. The headful one got multiple replicated portions of the website, whereas the headless one is what I want. Please find below a way to replicate my issue.System info
Source code
Steps
Expected
The full page website as the headless one.
Actual
The headful screenshot got replicated portions of the website.