Chapter 11. Maximizing PhantomJS

Now that we have learned PhantomJS scripting and its features, let us go one step further and check out what other possibilities we have to maximize the capabilities of PhantomJS. We will look into integrating the third-party libraries with PhantomJS and also check out other tools that integrate with PhantomJS.

CasperJS

With the rising popularity of PhantomJS, there has been an evolution of several projects that integrate with or are based on PhantomJS. Some of these are extensions that enhance the scripting ability of PhantomJS.

CasperJS is an open source extension for PhantomJS. It extends the API of PhantomJS to make tasks such as web scraping, testing, and DOM manipulation easier. CasperJS can be downloaded from ...

Get Getting Started with PhantomJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.