|
@@ -29,7 +29,8 @@ export default async function () {
|
|
|
// targetUrlWithoutProtocol = targetUrlWithoutProtocol.replace('https://', '');
|
|
|
try {
|
|
|
await page.goto(targetUrl, {
|
|
|
- timeout: 60000
|
|
|
+ timeout: 60000,
|
|
|
+ waitUntil: 'domcontentloaded'
|
|
|
});
|
|
|
await page.screenshot({ path: `screenshots/screenshot_${timeStamp}.png` });
|
|
|
} finally {
|