You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
awaitclient.send('Network.clearBrowserCookies');// Clear cookies to ensure clean state between fetches and prevent session persistence across different URLs
response=awaitpage.goto(url,{waitUntil: 'load'});// Using `load` instead of `networkidle0` as it's more reliable and faster. The 'load' event fires when the page and all its resources (stylesheets, scripts, images) have finished loading. `networkidle0` can be problematic as it waits for 500ms of network inactivity, which may never occur on dynamic pages and then triggers a navigation timeout.
@@ -96,37 +97,15 @@ export async function launchHeadlessBrowser() {
0 commit comments