Answers for "Navigation timeout of 30000 ms exceeded"

1

Navigation timeout of 30000 ms exceeded

Puppeteer, is chromium based by default.
If you wish to use chrome instead you have to specify the executable path through the executablePath launch parameter.
But to be honest, most of the time, there is no point to do so.

let browser = await puppeteer.launch({
    executablePath: `/path/to/Chrome`,
    //...
});
Posted by: Guest on April-10-2022
0

Navigation timeout of 30000 ms exceeded

await page.setDefaultNavigationTimeout(0);
Posted by: Guest on April-18-2022
0

Navigation timeout of 30000 ms exceeded

await page.goto(`https://github.com/`, {timeout: 0});
Posted by: Guest on April-10-2022

Code answers related to "Navigation timeout of 30000 ms exceeded"

Code answers related to "Javascript"

Browse Popular Code Answers by Language