In this chapter, we will cover:
Running Selenium tests with PhantomJS and GhostDriver
Using WebdriverJS as a Selenium client for PhantomJS
Adding Poltergeist to a Capybara suite
Taking screenshots during tests with Poltergeist
Simulating precise mouse clicks with Poltergeist
Installing CasperJS
Interacting with web pages using CasperJS
End-to-end testing with CasperJS
Exporting test results from CasperJS in the XUnit format
Detecting visual regressions using PhantomCSS