puppeteer find div and take screenshot code example Example: puppeteer take screenshot await page.screenshot({path: 'screenshot.png'});