Skip to content

Commit ed8a99e

Browse files
Change page.goto wait condition to 'networkidle'
1 parent d676ecc commit ed8a99e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/find/src/findForUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export async function findForUrl(url: string, authContext?: AuthContext): Promis
88
const contextOptions = authContext?.toPlaywrightBrowserContextOptions() ?? {};
99
const context = await browser.newContext(contextOptions);
1010
const page = await context.newPage();
11-
await page.goto(url, { waitUntil: 'domcontentloaded' });
11+
await page.goto(url, { waitUntil: 'networkidle' });
1212
console.log(`Scanning ${page.url()}`);
1313

1414
let findings: Finding[] = [];

0 commit comments

Comments
 (0)