I have tried Puppeteer locally and it worked for other websites but mine has a few Iframes and it doesn't capture them.
const { chromium } = require("playwright");
(async () => {
let browser = await chromium.launch();
let page = await browser.newPage();
await page.setViewportSize({ width: 1280, height: 1080 });
await page.goto("https://raddy.dev/blog/build-news-website-with-node-js-express-ejs-wp-rest-api/");
await page.screenshot({ path: `nyt-playwright-chromium.png` });
await browser.close();
})();
How can I capture the Iframes in the screenshot as well? It would be great if I could just press a button on my website and get a full screenshot without any missing parts.