CasperJS vs Puppeteer

Need advice about which tool to choose?Ask the StackShare community!

CasperJS

57
89
+ 1
0
Puppeteer

288
387
+ 1
16
Add tool

CasperJS vs Puppeteer: What are the differences?

CasperJS: Navigation scripting & testing for PhantomJS and SlimerJS. CasperJS is a browser navigation scripting & testing utility written in Javascript for PhantomJS or SlimerJS; Puppeteer: Headless Chrome Node API. 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.

CasperJS and Puppeteer can be categorized as "Headless Browsers" tools.

CasperJS and Puppeteer are both open source tools. Puppeteer with 51.1K GitHub stars and 4.71K forks on GitHub appears to be more popular than CasperJS with 7.3K GitHub stars and 1.06K GitHub forks.

According to the StackShare community, Puppeteer has a broader approval, being mentioned in 25 company stacks & 18 developers stacks; compared to CasperJS, which is listed in 7 company stacks and 7 developer stacks.

Pros of CasperJS
Pros of Puppeteer
    Be the first to leave a pro
    • 7
      Very well documented
    • 6
      Scriptable web browser
    • 3
      Promise based

    Sign up to add or upvote prosMake informed product decisions

    Cons of CasperJS
    Cons of Puppeteer
      Be the first to leave a con
      • 5
        Chrome only

      Sign up to add or upvote consMake informed product decisions

      What is CasperJS?

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

      What is 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.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use CasperJS?
      What companies use Puppeteer?

      Sign up to get full access to all the companiesMake informed product decisions

      What tools integrate with CasperJS?
      What tools integrate with Puppeteer?

      Blog Posts

      What are some alternatives to CasperJS and Puppeteer?
      PhantomJS
      PhantomJS (www.phantomjs.org) is a headless WebKit scriptable with JavaScript. It is used by hundreds of developers and dozens of organizations for web-related development workflow.
      Selenium
      Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
      Cypress
      Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.
      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.
      Protractor
      Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
      See all alternatives
      Interest over time