Difference between fullPage and captureBeyondViewport

Viewed 108

The puppeteer function page.screenshot([options]) accepts two parameters:

  • fullPage When true, takes a screenshot of the full scrollable page. Defaults to false.

  • captureBeyondViewport When true, captures screenshot beyond the viewport. Whe false, falls back to old behaviour, and cuts the screenshot by the viewport size. Defaults to true.

To me this sounds like pretty much the same thing, besides the different default values. So I wonder what the difference is.

0 Answers
Related