DEV Community

Discussion on: Web Scraping with Javascript and Node.js

Collapse
 
anderrv profile image
Ander Rodriguez

For plain-text requests, you won't need to accept them, just parse the content available, which is usually there.

In case you are using Playwright, you could find the selector and dismiss them by clicking like a normal user. In any case, unless it is a must for you, there is nothing to gain from dismissing them.