feat: add wait until timeout state for navigation
This commit is contained in:
@@ -93,7 +93,7 @@ async function resetBrowserState(browser: RemoteBrowser): Promise<boolean> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Navigate to blank page to reset state
|
// Navigate to blank page to reset state
|
||||||
await currentPage.goto('about:blank');
|
await currentPage.goto('about:blank', { waitUntil: 'networkidle', timeout: 10000 });
|
||||||
|
|
||||||
// Clear browser storage
|
// Clear browser storage
|
||||||
await currentPage.evaluate(() => {
|
await currentPage.evaluate(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user