Course outline for Headless Browsers
TechnologyHeadless BrowsersDuration
LevelPrerequisites listed
About Headless Browsers
- Official Documentation
- Discussions and Questions about Headless Browsers
Pre-requisites
- Participants must have good knowledge of Web Application Development
- Participants must be comfortable in a Linux environment
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 20.04/22.04 Desktop Edition (sudo/root access required)
- Firefox and Chrome browsers
How we train
Online training for Headless Browsers
- Instructor-led live cohorts
- Self-paced learning with expert coaches
- 24x7 cloud labs with end-to-end examples
All sessions are 100% hands-on. Labs and activities are derived from real-world work our engineers deliver.
Classroom training
Available for corporate teams in:
- Bengaluru
- Chennai
- Hyderabad
- Mumbai
- Delhi/Gurgaon/NCR
- Pune
Note: Classroom training is for corporate clients only.
Self-paced hands-on sessions are delivered via VirtualCoach.
Detailed Course Outline
Hands-onIntroduction 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