3 ms·
I was wondering also what the use case is for a headless browser. I'm guessing I'm just not thinking about this the correct way.
by epalmer 11y ago
I was wondering also what the use case is for a headless browser. I'm guessing I'm just not thinking about this the correct way.
- ape4 11y agoGlad I'm not alone. Obviously it can download pages like wget or curl. Presumably you could access the DOM of a page - for scraping, etc. Then there is a testing - perhaps this would be used for automated access of your website to make sure its working. But these are all guesses.
- logn 11y agoYes, that's right, for (1) crawling and general index building, (2) scraping and data extraction, and (3) testing or web automation. Some might be wondering, why this project vs other Selenium web drivers. Answer to that is: https://www.reddit.com/r/java/comments/40qa0q/a_purejava_selenium_webdriver/cywkate https://www.reddit.com/r/java/comments/40qa0q/a_purejava_sel... The primary difference from wget and curl is the ability to fully render pages, sub-resources, CSS, and JS. Also allows interaction such as clicks and keyboard events.