Need advice about which tool to choose?Ask the StackShare community!
Nightwatchjs vs Selenide: What are the differences?
Developers describe Nightwatchjs as "Automated testing and continous integration framework based on node.js and selenium webdriver". Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements. On the other hand, Selenide is detailed as "Concise UI tests in JAVA". Selenide is a library for writing concise, readable, boilerplate-free tests in Java using Selenium WebDriver.
Nightwatchjs and Selenide can be categorized as "Browser Testing" tools.
Some of the features offered by Nightwatchjs are:
On the other hand, Selenide provides the following key features:
- Concise fluent API for tests
- Ajax support for stable tests
- Powerful selectors
Nightwatchjs is an open source tool with 9.5K GitHub stars and 941 GitHub forks. Here's a link to Nightwatchjs's open source repository on GitHub.
Hi, I am starting out to test an application that is currently being developed - FE: React. BE: Node JS. I want the framework to be able to test all UI scenarios (from simple to complex) and also have the capability to test APIs. I also need to run tests across all OSs and Browsers (Windows, Mac, Android, iOS). I have also looked into react-testing-library and @TestProject.io. Any advice you can give as to which framework would be best and why would be so much appreciated! Thank you!!
You should also definitely look into Playwright, which is a new automation tool from Microsoft building on top of the Puppeteer experience and trying to bring this experience in the cross browser space - very exciting project. Great team. Also CodeceptJS as already Playwright support which at a ton of valuable features on top of Playwright, give it a go!
I'm also looking for the same, FE: React & BE: NodeJS. Cypress won't help as it lacks cross-browser testing, it doesn't support all the browsers. I'm still investigating it, but looks like WebdriverIO may fulfil what I'm looking for - Cross-browser testing, integration with CI/CD, running it as a docker service, good support on assertions & reporting of test results. Let me know if you found any information on any of the above mentioned points.
Hi Esther, if you really need cross OS and cross device automation Cypress wont help, with WebdriverIO you can do it … and check out CodeceptJS, which is a wrapper around several frameworks (like WebdriverIO) and will support future players (currently for example upcoming Playwright) as well.
Pros of Nightwatchjs
- Open source3
- Automates browsers2
- Better cross browser (use selenium)1
- Cross-Browser Testing1
- Multiple Browser Support1
- Parallel Test Running1
Pros of Selenide
- Nice JAVA API4
- Integrated with WebDriverManager project2
- Integrated with Selenium-Jupiter framework2
- File upload support2
- Very mature API2
- Cross browser1
- Capture screen shots on fail1
- Proxy server1
Sign up to add or upvote prosMake informed product decisions
Cons of Nightwatchjs
- No automatic wait2
Cons of Selenide
- Hybrid page model not possible1