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

jsdom

447
42
+ 1
0
Selenium

12.3K
9.7K
+ 1
518
Add tool
Advice on jsdom and Selenium
Needs advice
on
WebdriverIOWebdriverIOSeleniumSelenium
and
JestJest
in

we are having one web application developed in Reacts.js. in the application, we have only 4 to 5 pages that we need to test. I am having experience in selenium with java. Please suggets which tool I should use. and why ............................ ............................ .............................

See more
Replies (1)
Prashanth Marappa
Senior Software Engineer at Mphasis · | 1 upvotes · 135.4K views
Recommends
SeleniumSelenium

with the help of selenium we can automate react js for functional testing

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of jsdom
Pros of Selenium
    Be the first to leave a pro
    • 170
      Automates browsers
    • 153
      Testing
    • 101
      Essential tool for running test automation
    • 24
      Record-Playback
    • 23
      Remote Control
    • 8
      Data crawling
    • 7
      Supports end to end testing
    • 6
      Functional testing
    • 6
      Easy set up
    • 4
      The Most flexible monitoring system
    • 3
      Easy to integrate with build tools
    • 3
      End to End Testing
    • 2
      Integration Tests
    • 2
      Comparing the performance selenium is faster than jasm
    • 2
      Record and playback
    • 2
      Compatible with Python
    • 2
      Easy to scale
    • 0
      Integrated into Selenium-Jupiter framework

    Sign up to add or upvote prosMake informed product decisions

    Cons of jsdom
    Cons of Selenium
      Be the first to leave a con
      • 8
        Flaky tests
      • 3
        Slow as needs to make browser (even with no gui)

      Sign up to add or upvote consMake informed product decisions

      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.

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

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

      What companies use jsdom?
      What companies use Selenium?
      See which teams inside your own company are using jsdom or Selenium.
      Sign up for Private StackShareLearn More

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

      What tools integrate with jsdom?
      What tools integrate with Selenium?

      Sign up to get full access to all the tool integrationsMake informed product decisions

      Blog Posts

      What are some alternatives to jsdom and Selenium?
      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.
      Enzyme
      Enzyme is a JavaScript Testing utility for React that makes it easier to assert, manipulate, and traverse your React Components' output.
      Domino
      Use our cloud-hosted infrastructure to securely run your code on powerful hardware with a single command — without any changes to your code. If you have your own infrastructure, our Enterprise offering provides powerful, easy-to-use cluster management functionality behind your firewall.
      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
      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.
      See all alternatives