StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Product

  • Stacks
  • Tools
  • Companies
  • Feed

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 StackShare. All rights reserved.

API StatusChangelog
CasperJS
ByCasperJSCasperJS

CasperJS

#65in Testing Frameworks
Discussions1
Followers120
OverviewDiscussions1

What is CasperJS?

CasperJS is a browser navigation scripting & testing utility written in Javascript for PhantomJS or SlimerJS.

CasperJS is a tool in the Testing Frameworks category of a tech stack.

CasperJS Pros & Cons

Pros of CasperJS

No pros listed yet.

Cons of CasperJS

No cons listed yet.

CasperJS Alternatives & Comparisons

What are some alternatives to CasperJS?

PhantomJS

PhantomJS

PhantomJS is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.

jsdom

jsdom

It is a pure-JavaScript implementation of many web standards, notably the WHATWG DOM and HTML Standards, for use with Node.js. In general, the goal of the project is to emulate enough of a subset of a web browser to be useful for testing and scraping real-world web applications.

Puppeteer

Puppeteer

Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome.

Playwright

Playwright

It is a Node library to automate the Chromium, WebKit and Firefox browsers with a single API. It enables cross-browser web automation that is ever-green, capable, reliable and fast.

Splash

Splash

It is a headless browser that executes JavaScript for people crawling websites. It is open source and fully integrated with Scrapy and Portia. You can also use its API to integrate with any project that needs to render JavaScript pages.

SlimerJS

SlimerJS

It allows you to manipulate a web page with an external Javascript script: opening a webpage, clicking on links, modifying the content... It is useful to do functional tests, page automation, network monitoring, screen capture etc.

CasperJS Integrations

SlimerJS, PhantomJS are some of the popular tools that integrate with CasperJS. Here's a list of all 2 tools that integrate with CasperJS.

SlimerJS
SlimerJS
PhantomJS
PhantomJS

CasperJS Discussions

Discover why developers choose CasperJS. Read real-world technical decisions and stack choices from the StackShare community.

Tim Abbott
Tim Abbott

Founder at Zulip

May 16, 2019

Needs adviceonCasperJSCasperJSPhantomJSPhantomJSNode.jsNode.js

We use CasperJS because we adopted it back in 2013 for JavaScript frontend testing. It was a really nice system back then compared to what else was out there; you had PhantomJS as a programmable browser that actually rendered CSS and everything, it was really fast (speed is a big downside of e.g. Selenium), and it was possible to make non-flaky frontend integration tests with it.

I wouldn't recommend it today, because PhantomJS is a basically dead project, and as a result, so is CasperJS. I expect we'll migrate to something else. We haven't in large part because 95% of our new tests are written with a simple Node.js-based unit testing framework we use that run 35K lines of unit tests covering most of our JS codebase in 3.6 seconds. And for the things where we want an integration test, CasperJS does work, and I think there's a good chance that waiting another year or two will result in our being able to switch to a much better option than what we'd get if we migrated now.

0 views0
Comments

Try It

Visit Website

Adoption

On StackShare

Companies
11
DZJTCF+5
Developers
58
BFTLPH+52