Need advice about which tool to choose?Ask the StackShare community!
Add tool
Advice on jsdom and Selenium
Shivam Gupta
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 ............................ ............................ .............................
Replies (1)
Prashanth Marappa
Senior Software Engineer at Mphasis · | 1 upvotes · 135.4K views
Recommends

with the help of selenium we can automate react js for functional testing
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn MorePros of jsdom
Pros of Selenium
Pros of jsdom
Be the first to leave a pro
Pros of Selenium
- Automates browsers170
- Testing153
- Essential tool for running test automation101
- Record-Playback24
- Remote Control23
- Data crawling8
- Supports end to end testing7
- Functional testing6
- Easy set up6
- The Most flexible monitoring system4
- Easy to integrate with build tools3
- End to End Testing3
- Integration Tests2
- Comparing the performance selenium is faster than jasm2
- Record and playback2
- Compatible with Python2
- Easy to scale2
- Integrated into Selenium-Jupiter framework0
Sign up to add or upvote prosMake informed product decisions
Cons of jsdom
Cons of Selenium
Cons of jsdom
Be the first to leave a con
Cons of Selenium
- Flaky tests8
- Slow as needs to make browser (even with no gui)3
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?
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 MoreSign up to get full access to all the companiesMake informed product decisions
What tools integrate with jsdom?
What tools integrate with Selenium?
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.