Getting Started with PhantomJS

Harness the strength and capabilities of PhantomJS to interact with the web and perform website testing with a headless browser based on WebKit

Getting Started with PhantomJS

Aries Beltran

Harness the strength and capabilities of PhantomJS to interact with the web and perform website testing with a headless browser based on WebKit
Packt Subscription
FREE
$9.99/m after trial
eBook
$12.60
RRP $17.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Packt subscription?
  • Exclusive monthly discount - no contract
  • Unlimited access to entire Packt library of 6500+ eBooks and Videos
  • 120 new titles added every month, on new and emerging tech
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$12.60
$29.99
$0 p/m after trial
RRP $17.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 10 Day Trial

Frequently bought together


Getting Started with PhantomJS Book Cover
Getting Started with PhantomJS
$ 17.99
$ 12.60
AWS Lambda Quick Start Guide Book Cover
AWS Lambda Quick Start Guide
$ 23.99
$ 16.80
Buy 2 for $29.40
Save $12.58
Add to Cart

Book Details

ISBN 139781782164227
Paperback140 pages

Book Description

PhantomJS is a headless WebKit browser with JavaScript API that allows you to create new ways to automate web testing. PhantomJS is currently being used by a large number of users to help them integrate headless web testing into their development processes. It also gives you developers a new framework to create web-based applications, from simple web manipulation to performance measurement and monitoring.

A step step-by by-step guide that will help you develop new tools for solving web and testing problems in an effective and quick way. The book will teach you how to use and maximize PhantomJS to develop new tools for web scrapping, web performance measurement and monitoring, and headless web testing. This book will help you understand PhantomJS’ scripting API capabilities and strengths.

This book starts by looking at PhantomJS’ JavaScript API, features, and basic execution of scripts. Throughout the book, you will learn details to help you write scripts to manipulate web documents and fully create a web scrapping tool.

Through its practical approach, this book strives to teach you by example, where each chapter focuses on the common and practical usage of PhantomJS, and how to extract meaningful information from the web and other services.

By the end of the book, you will have acquired the skills to enable you to use PhantomJS for web testing, as well as learning the basics of Jasmine, and how it can be used with PhantomJS.

Table of Contents

What You Will Learn

  • Explore the possibilities of PhantomJS development and make use of a headless browser
  • Understand PhantomJS’ core features and API
  • Manipulate the DOM properties of web pages using scripts
  • Interact with web pages using PhantomJS scripts
  • Learn how to emulate keyboards and mouse actions
  • Work with geolocation services with PhantomJS
  • Build scripts that will create web sites snapshots
  • Create and implement PhantomJS custom modules
  • Use PhantomJS to perform headless testing with Jasmine

Authors

Table of Contents

Book Details

ISBN 139781782164227
Paperback140 pages
Read More

Read More Reviews

Recommended for You

AWS Lambda Quick Start Guide Book Cover
AWS Lambda Quick Start Guide
$ 23.99
$ 16.80
Hands-On Serverless Applications with Go Book Cover
Hands-On Serverless Applications with Go
$ 35.99
$ 25.20
Mastering Selenium WebDriver 3.0 - Second Edition Book Cover
Mastering Selenium WebDriver 3.0 - Second Edition
$ 35.99
$ 25.20
Programming Kotlin Book Cover
Programming Kotlin
$ 35.99
$ 25.20
Learning C# 7 By Developing Games with Unity 2017 - Third Edition Book Cover
Learning C# 7 By Developing Games with Unity 2017 - Third Edition
$ 39.99
$ 28.00
Python 3 Object-oriented Programming - Second Edition Book Cover
Python 3 Object-oriented Programming - Second Edition
$ 39.99
$ 28.00