I haven't dug deep recently, but if you need to automate browser download dialog this wasn't possible with Headless Chrome. (I'd love to find out that this has changed, and you can control it as well as you can with Selenium)
There are a great many sites that degrade gracefully when JS support is not available. It makes absolutely no sense to waste the resources required to run a full headless browser when simple HTTP requests will retrieve the same information faster, more efficiently, and in a way that's easier to parallelize.
Comments (228) 108 threads
Earlier commentsYou should be using Headless Chrome or Headless Firefox with a library that can control them in a user-friendly manner
I personally avoid executing js unless it's necessary, as it adds more complexity, and is noticeably more brittle.
Continue this thread — 1 reply
A few similar tools also exist, like https://page.rest/.
All comments shown.
Couldn't load more comments. Check your connection and try again.