


Sometimes a website will display different content to visitors in different countries. You can do this byĪltering the viewport, and setting a device specific user agent. It's also possible to capture screenshots of a website by emulating a device. Tweet, the price of an item on an e-commerce page, or the comments section on an article. These are usually the most difficult kind of screenshot to capture accurately, due to how some sites areĮlement screenshots are useful for capturing a specific portion of a page, such as a specific This content is sometimes referred to as being 'above-the-fold'.įull page screenshots capture the entire webpage from the top of the page to the bottom of the footer. This is where you set the viewport of the headless browser to a specific resolution and take a screenshot of theĬontent that fills that viewport.

What kind of website screenshots can you capture? There are lots of use-cases for website screenshots, whichever use-case you have, capturing a screenshot of a website is made possible by using puppeteer.

