Harness the strength and power of PhantomJS to perform website testing with Packt’s new book and eBook

February 2014 | Open Source, Web Development

Packt is pleased to announce the release of Getting Started with PhantomJS, a complete, concise guide detailing the major aspects and capabilities of PhantomJS, with a particular focus on website testing.

About the author:

Aries Beltran is a software developer located in Manila, Philippines. He works as an architect and R&D developer for financial businesses using web and enterprise technologies. He is currently developing new tools to provide real-time insights into data. His main interests are playing around with cutting-edge HTML5 development and mobile visualization.

Getting Started with PhantomJS is a step-by-step guide that will help readers develop new tools to solve web and testing problems in an effective and quick way. The book will teach readers how to fully utilize PhantomJS to develop new tools for web scraping, web performance measurement and monitoring, and headless web testing. The book will also help readers understand PhantomJS’ scripting API capabilities and strengths.

The book starts by looking at PhantomJS’ JavaScript API and features, as well as the basic execution of scripts. Throughout the book, there are details to help readers write scripts to manipulate web documents, and they will also create a fully-functional web scraping tool. Through its practical approach, this book strives to teach by example, where each chapter focuses on a common and practical usage of PhantomJS, including how to extract meaningful information from the Web and other services.

Readers will also learn the basics of Jasmine and how it can be used with PhantomJS. By the end of the book, readers will have acquired all the skills they need to use PhantomJS for web testing.

The book consists of the following chapters:

Chapter 1: Getting Started

Chapter 2: Manipulating Page Content

Chapter 3: Handling Events and Callbacks

Chapter 4: Capturing Errors

Chapter 5: Grabbing Pages

Chapter 6: Accessing Location-based Services

Chapter 7: Working with Files

Chapter 8: Cookies

Chapter 9: External JavaScript

Chapter 10: Testing with PhantomJS

Chapter 11: Maximizing PhantomJS

JavaScript developers who are interested in developing applications that interact with various web services using a headless browser will find this book to be a great resource. This book will also be useful for those who are planning on performing headless browser testing for their web applications. A basic understanding of JavaScript is assumed. For more details, visit the book web page at-http://www.packtpub.com/getting-started-with-phantomjs/book

Getting Started with PhantomJS
Interact with social media websites using PhantomJS scripts

For more information, please visit: http://www.packtpub.com/getting-started-with-phantomjs/book


Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software