Apify Discord Mirror

Updated 5 months ago

networkidle2 option

At a glance

The community member is asking if there is a way to configure navigation in Puppeteer in Crawlee to use the {waitUntil: 'networkidle2'} option from the beginning, instead of only being able to use it when reloading each page.

A community member responds that the preNavigatioHooks can be used to specify this option, and provides an example link.

Useful resources
Hello,
In puppeteer for page.reload or page.goto you can choose the option {waitUntil: 'networkidle2'} , using Puppeteer in Crawlee, I only found that I can use that if I reload each page .

Is there any other way to configure navigation to use the {waitUntil: 'networkidle2'} from the beginning ?
H
1 comment
Add a reply
Sign up and join the conversation on Discord