DEV Community

Discussion on: A command line application: Scraping dev.to with puppeteer

Collapse
 
damcosset profile image
Damien Cosset

Ok, so this is a part that I still have trouble getting my head around. There are some good answers I believe on this issue.

waitForNavigation will only resolve once the navigation has started and completed. So it will resolve after the page.click has completed. If I understood it correctly.