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 037d873 commit b30928eCopy full SHA for b30928e
src/lib/screenshot.ts
@@ -14,7 +14,7 @@ async function captureScreenshotsForConfig(
14
browserName: string,
15
renderViewports: Array<Record<string,any>>
16
): Promise<void> {
17
- let pageOptions = { waitUntil: process.env.SMARTUI_PAGE_WAIT_UNTIL_EVENT || 'domcontentloaded', timeout: ctx.config.waitForPageRender || constants.DEFAULT_PAGE_LOAD_TIMEOUT };
+ let pageOptions = { waitUntil: process.env.SMARTUI_PAGE_WAIT_UNTIL_EVENT || 'load', timeout: ctx.config.waitForPageRender || constants.DEFAULT_PAGE_LOAD_TIMEOUT };
18
let ssId = name.toLowerCase().replace(/\s/g, '_');
19
let context: BrowserContext;
20
let contextOptions: Record<string, any> = {};
0 commit comments