diff --git a/src/services/static-snapshot-service.ts b/src/services/static-snapshot-service.ts index 657ea49b..e5f8c4d5 100644 --- a/src/services/static-snapshot-service.ts +++ b/src/services/static-snapshot-service.ts @@ -49,7 +49,7 @@ export default class StaticSnapshotService { for (const url of pageUrls) { logger.debug(`visiting ${url}`) - await page.goto(url) + await page.goto(url, { waitUntil: 'networkidle0' }) await page.addScriptTag({ path: percyAgentClientFilename,