You can use this example as a starting point for your puppeteer application.
// Minimal puppeteer example const puppeteer = require('puppeteer'); (async () => { const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://techoverflow.net', {waitUntil: 'domcontentloaded'}); // // YOUR CODE GOES HERE! // await browser.close(); })();
The screenshot is 800x600px by default and could look like this: