6J7T3WGAFRA54WV4Z3IU4V2KUGXTMRKGE5673HF573LCDHTI4F7AC
await Promise.all([
new Promise(resolve => setTimeout(resolve, 30000 * ++attempt)),
page.screenshot({path: filename, fullPage: true})
]);
try {
await Promise.all([
new Promise(resolve => setTimeout(resolve, 30000 * ++attempt)),
page.screenshot({path: filename, fullPage: true})
]);
} catch(e) {
console.error("failed to take screenshot")
}