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

CasperJS

65
120
+ 1
0
jsdom

974
52
+ 1
1
Add tool

CasperJS vs jsdom: 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; jsdom: A JavaScript implementation of the WHATWG DOM and HTML standards, for use with node.js. 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.

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

CasperJS and jsdom are both open source tools. jsdom with 12.9K GitHub stars and 1.16K forks on GitHub appears to be more popular than CasperJS with 7.3K GitHub stars and 1.06K GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of CasperJS
Pros of jsdom
    Be the first to leave a pro
    • 1
      Lightweight

    Sign up to add or upvote prosMake informed product decisions

    What is CasperJS?

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

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

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

    Jobs that mention CasperJS and jsdom as a desired skillset
    What companies use CasperJS?
    What companies use jsdom?
    See which teams inside your own company are using CasperJS or jsdom.
    Sign up for StackShare EnterpriseLearn More

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

    What tools integrate with CasperJS?
    What tools integrate with jsdom?
    What are some alternatives to CasperJS and jsdom?
    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.
    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.
    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.
    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.
    See all alternatives