feat: add wait until timeout state for navigation

This commit is contained in:
Karishma Shukla
2025-04-28 18:36:11 +05:30
committed by GitHub
parent d1d9fea474
commit ce0242e958

View File

@@ -93,7 +93,7 @@ async function resetBrowserState(browser: RemoteBrowser): Promise<boolean> {
}
// Navigate to blank page to reset state
await currentPage.goto('about:blank');
await currentPage.goto('about:blank', { waitUntil: 'networkidle', timeout: 10000 });
// Clear browser storage
await currentPage.evaluate(() => {