Book Image

PhantomJS Cookbook

By : Rob Friesel
Book Image

PhantomJS Cookbook

By: Rob Friesel

Overview of this book

Table of Contents (15 chapters)
PhantomJS Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 1. Getting Started with PhantomJS

In this chapter, we will cover the following recipes:

  • Installing PhantomJS

  • Launching the PhantomJS REPL

  • Running a PhantomJS script

  • Running a PhantomJS script with arguments

  • Running PhantomJS with cookies

  • Running PhantomJS with a disk cache

  • Running PhantomJS with a JSON configuration file

  • Debugging a PhantomJS script