Skip to content

Commit 0e0d30e

Browse files
committed
feat: increase HTML stability wait timeout
1 parent 039ad23 commit 0e0d30e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/browser/BrowserSession.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export class BrowserSession {
422422

423423
// page.goto { waitUntil: "networkidle0" } may not ever resolve, and not waiting could return page content too early before js has loaded
424424
// https://stackoverflow.com/questions/52497252/puppeteer-wait-until-page-is-completely-loaded/61304202#61304202
425-
private async waitTillHTMLStable(page: Page, timeout = 5_000) {
425+
private async waitTillHTMLStable(page: Page, timeout = 8_000) {
426426
const checkDurationMsecs = 500 // 1000
427427
const maxChecks = timeout / checkDurationMsecs
428428
let lastHTMLSize = 0

0 commit comments

Comments
 (0)