I am trying to go to a secondary URL after an action is completed on the first page on playwright, everytime I go to the secondary page the error
UnhandledPromiseRejectionWarning: page.goto: Navigation failed because page crashed
=========================== logs ===========================
navigating to "https://google.com", waiting until "load"
============================================================
my code is
await page.goto('https://youtube.com');
await sleep(10000);
await page.goto('https://google.com');
console.log("Passed this!");