difference between node.js , casper.js and phantom.js?

screen-scraping, web

Solution

Nodejs is a scripting engine based on Chrome's V8 engine. Nodejs is commonly used as a web server but it is really is a script engine that can run any types of script you like. Node can be used for web scraping by making requests to other servers and then analysing the output.

Phantomjs is a headless webkit browser, which means that it acts just like a browser but doesn't have a UI. Used on its own, it forms a part of a web testing framework but is much better used with...

Casperjs is a utility built on top of Phantomjs that helps you build automated tests.

An automated test can be seen as a web scraper but that's not really what it's for. Web tests are usually sensitive to changes on the page that's being scraped and do not have to be fast at DOM manipulation (because you tend to do one page at a time).

I think nodejs is probably best for what you want.

Problem

I have read these three are used for web scraping . But whats the difference ? in what kind of environment is one better than the other ?

Original source