How to stop Puppeteer crawler without causing error?
How to stop Puppeteer crawler without causing error?
At a glance
The community member has a script with forks, and they would like to stop the script if certain conditions are met. They mention that using page.close creates issues, especially when running the script concurrently. However, there is no explicitly marked answer in the comments.
I have forks in my script and if certain conditions are met, I would like to stop the script. How should I do that? page.close creates issues, especially if I run concurrently.