To set navigation timeout with Node.js Puppeteer, we set the timeout
option.
For instance, we write
await page.goto(url, { waitUntil: "load", timeout: 0 });
to call goto
to go to the url
.
We set timeout
to 0 milliseconds to remove navigation timeout.