Rapid PhantomJS
3.7 (5 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
82 students enrolled
Wishlisted Wishlist

Please confirm that you want to add Rapid PhantomJS to your Wishlist.

Add to Wishlist

Rapid PhantomJS

Build up a solid base for advanced scripting by learning how to write scripts with PhantomJS
3.7 (5 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
82 students enrolled
Last updated 12/2014
English
Current price: $10 Original price: $50 Discount: 80% off
14 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 1.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Have a coupon?
What Will I Learn?
Learn to write advanced PhantomJS scripts
Make use of the phantom object to deal with general PhantomJS functionality
Implement a system object to read out system arguments and make your scripts more generic and reusable
Monitor the network activity of any website using the webpage object
Automate visitor behavior on any website using the evaluate function
Execute a frontend unit test suite like Jasmine and retrieve the results
Adapt popular frontend build tools to automate your newly gained knowledge of PhantomJS easily
View Curriculum
Requirements
  • The course starts off with some basic scripting in PhantomJS and then moves on to advanced scripting by writing several example scripts from scratch.
Description

Rapid PhantomJS will help you to write your own PhantomJS scripts easily in order to perform various testing tasks.

You will begin with a detailed description of the main functionality to build up the base of advanced PhantomJS scripting. You will then move on to learn about the scripting for the four main use cases of PhantomJS, which covers rendering images from any website to avoid visual regression, monitoring network traffic to notice performance degradation, simulating user behavior, and checking the results of your unit testing suite automatically. This is where you will master popular frontend build tools such as make, npm scripting, Grunt, and gulp. These will be set up to help you automate your new developed PhantomJS scripts in any environment.
By the end of the course, you will be able to automate and optimize your workflow with the help of PhantomJS, which leads to higher productivity and products of higher quality.

About the Author

Stefan Judis lives in Berlin and has been developing websites using popular frontend technologies like Grunt, Gulp, RequireJS, and BackboneJS for five years. He fell heavily in love with open source, automation, and tooling. He is the maintainer of two Grunt plugins that are based on PhantomJS, which help avoiding visual regression and making it easier to gain frontend-related performance metrics (grunt-photobox and grunt-phantomas).

Who is the target audience?
  • Rapid PhantomJS is for web developers who have some existing knowledge of JavaScript and are not afraid of using the command line.
Students Who Viewed This Course Also Viewed
Curriculum For This Course
Expand All 14 Lectures Collapse All 14 Lectures 01:17:19
+
PhantomJS - Introduction
6 Lectures 32:37

Explanation of what a browser is and how it works in general. Go to the topic of browser rendering engines and understand what PhantomJS is and which relation exists with WebKit.

What Is PhantomJS?
05:38

It's a headless browser. Demonstration of why this can be useful in many cases by presenting multiple examples.

Why Is PhantomJS Useful?
06:58

Explaining two different installation processes for PhantomJS.

How to Install and Use PhantomJS?
05:57

Describe and use PhantomJS's phantom API.

A Quick Demonstration of the 'phantom' API
04:12

Describe and use PhantomJS's system API.

A Quick Demonstration of the 'system' API
04:32

Describing and using PhantomJS's webpage API.

Preview 05:20
+
Frontend Unit Testing with PhantomJS
5 Lectures 29:01

Go to the principle of page rendering with PhantomJS by showing and using the webpage object in detail.

Using PhantomJS in Terms of Rendering
05:46

Go to the principle of executing JavaScript in the context of a website opened by PhantomJS. This will be used to read out data.

Using PhantomJS in Terms of Page Automation (Reading)
06:43

Open a webpage, analyze the markup, and read/print it with PhantomJS.

Using PhantomJS in Terms of Page Automation (Writing)
05:45

React to all the loaded assets and figure out how to filter images in order to display them in the command line.

Using PhantomJS in Terms of Network Monitoring
04:21

Go into the basic principles of frontend unit testing frameworks and explain implementation with PhantomJS (it's a bit too complex to implement it ourselves).

Using PhantomJS in Terms of Testing
06:26
+
Automating Your Workflow with Included Tests Based on PhantomJS
3 Lectures 15:41

Make clear which values these tools have and show how easy the usage is.

Preview 05:31

Make clear how to implement make and npm scripting.

Setting Up Automation Using make and npm
03:44

Make clear how to implement grunt and gulp and demonstrate the fairly simple setup.

Setting Up Automation Using grunt and gulp
06:26
About the Instructor
Packt Publishing
3.9 Average rating
4,070 Reviews
32,583 Students
318 Courses
Tech Knowledge in Motion

Packt has been committed to developer learning since 2004. A lot has changed in software since then - but Packt has remained responsive to these changes, continuing to look forward at the trends and tools defining the way we work and live. And how to put them to work.

With an extensive library of content - more than 4000 books and video courses -Packt's mission is to help developers stay relevant in a rapidly changing world. From new web frameworks and programming languages, to cutting edge data analytics, and DevOps, Packt takes software professionals in every field to what's important to them now.

From skills that will help you to develop and future proof your career to immediate solutions to every day tech challenges, Packt is a go-to resource to make you a better, smarter developer.

Packt Udemy courses continue this tradition, bringing you comprehensive yet concise video courses straight from the experts.