We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfcf4c4 commit cb3813bCopy full SHA for cb3813b
api/_lib/puppeteer.ts
@@ -21,6 +21,7 @@ export async function getScreenshot(url, width, height) {
21
await page.goto(url {
22
waitUntil: 'domcontentloaded',
23
});
24
+ await new Promise(r => setTimeout(r, 5000));
25
const file = await page.screenshot();
26
return file;
27
}
0 commit comments