Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Automating the Web Using PhantomJS and CasperJS

via Pluralsight

Overview

Learn to use PhantomJS and CasperJS to automate your interaction with the web to perform numerous tasks such as data scraping, network monitoring, page rendering, and browser testing in a programmatic manner.

When done manually, data scraping, monitoring, and testing are labor-intensive and time-consuming. This course, Automating the Web Using PhantomJS and CasperJS, teaches web developers various ways that PhantomJS (a "headless" scriptable web browser) and CasperJS (a utility wrapper around PhantomJS) can be utilized to automate these kinds of interactions with websites. First, you'll learn how to programmatically scrape target information from a webpage by creating a navigation script, allowing you to automatically gather the links that would be tested using your toolset. Next, you will implement a script to visit all the links that are gathered and capture screenshots from them, afterwards building a script that would monitor a page's network activity to check the state of the resources for catching potential failures. Finally, you will implement a testing suite to check the markup of a given web page against a few accessibility requirements. By the end of this course, you'll understand how to use PhantomJS and CasperJS to automate these tasks in order to save yourself time and effort.

Syllabus

  • Course Overview 1min
  • Getting Started with PhantomJS and CasperJS 10mins
  • Project Introduction & Data Collection 15mins
  • Page Rendering 11mins
  • Network Monitoring 7mins
  • Testing & Conclusion 12mins

Taught by

Engin Arslan

Reviews

4.3 rating at Pluralsight based on 53 ratings

Start your review of Automating the Web Using PhantomJS and CasperJS

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.