A task-based guide that provides solutions to real-world test automation problems. This book is intended for web development professionals who want to integrate PhantomJS into their development and testing workflows. If you are a web developer looking to run automated unit tests while you work, or perhaps you are a QA engineer looking for a fast test automation utility, then this book is perfect for you. Some prior knowledge of JavaScript would be helpful.
What you will learn
Develop your own PhantomJS core modules
Learn sophisticated strategies for interacting with web page contents and how to capture those interactions
Create a frontend continuous integration (CI) strategy with PhantomJS
Perform unit testing with frameworks such as Jasmine, Mocha, and QUnit
Implement functional and endtoend testing with PhantomJS using tools such as Selenium, Capybara, and CasperJS
Automate performance analysis with libraries such as Confess.js and YSlow
Automate the generation of images and PDFs of your web content