Product Information
What is Casperjs?
CasperJS is an open-source navigation scripting and testing utility written in JavaScript, designed for the PhantomJS WebKit headless browser and SlimerJS (Gecko). It simplifies the process of defining complete navigation scenarios and provides useful high-level functions, methods, and syntactic sugar to perform common tasks, such as:
- Defining and sequencing browsing navigation steps
- Filling out and submitting forms
- Clicking and following links
- Capturing screenshots of a page (or a portion of it)
- Testing remote DOM
- Logging events
- Downloading resources, including binary ones
- Writing functional test suites and saving results as JUnit XML
- Scraping web content
How to use Casperjs?
CasperJS is an open-source navigation scripting and testing tool written in JavaScript for headless browsers like PhantomJS and SlimerJS, simplifying the definition and execution of web navigation scenarios.
Core Functions of Casperjs
GPS navigation
Web Testing
Support for SlimerJS
Usage Scenarios of Casperjs
- Define and sequence web browsing steps
- Automate form filling and submission
- Click and track web links
- Capture screenshots of web pages or sections
- Write functional test suites
- Scrape web content
Common Questions about Casperjs
What does CasperJS do?
How do I use CasperJS?
What are the core features of CasperJS?
What are the use cases for CasperJS?




















