From dc6273203e28373a364f84df0c14f916f284f2c4 Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Thu, 27 Mar 2025 09:50:37 -0700 Subject: [PATCH] chore: use default action and navigation timeouts (#56) --- src/context.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/context.ts b/src/context.ts index 5dd5a3e..f715305 100644 --- a/src/context.ts +++ b/src/context.ts @@ -40,6 +40,8 @@ export class Context { this._console.length = 0; }); page.on('close', () => this._onPageClose()); + page.setDefaultNavigationTimeout(60000); + page.setDefaultTimeout(5000); this._page = page; this._browser = browser; return page;