Course Outline


About Headless Browsers – jsdom, Chrome/Firefox Headless Mode, PhantomJS, SlimerJS, CasperJS

Pre-requisites

Duration

    2-5 days

Lab Setup

  • Hardware Configuration - Participants must have access to a system with the following hardware configuration
    • 2GB of free RAM, 20GB of free disk space and full network connectivity
  • Software Configuration
    • Ubuntu 16.04 Desktop Edition (sudo/root access required)
    • Firefox and Chrome browsers

Course Outline for Headless Browsers

Introduction to Headless Browsers
  • Introduction to Headless Browser
  • Understanding the use cases of headless browser
Introduction to jsdom
  • Hello World in jsdom
  • Customization options in jsdom
  • Executing scripts
  • Virtual consoles
  • Cookie jars
  • jsdom APIs
  • Canvas support
  • Encoding sniffing
  • Limitations of jsdom
Headless Mode in Chrome/Firefox Browsers
  • CLI
  • rogrammatically
  • Using Headless Mode in Firefox Browser
Introduction to PhantomJS
  • Getting started with PhantomJS
  • Headless testing
  • Screen Capture
  • Page Automation
  • Network Monitoring
  • PhantomJS - Usage as CLI
Introduction to SlimerJS
  • Installation and Configuration
  • Getting started with SlimerJS
  • HTTP Authentication with SlimerJS
  • PhantomJS vs SlimerJS
Introduction to CasperJS
  • Installation and Configuration
  • Getting started with CasperJS
  • Testing – Unit tests, Browser tests, CasperJS tests
  • Debugging with CasperJS
  • CasperJS - API Documentation

The classroom training will be provided in Bangalore (Bengaluru), Chennai, Hyderabad or Mumbai and will be conducted in the client's premises. All the necessary hardware/software infrastructure must be provided by the client.