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

Nightwatchjs

117
306
+ 1
11
WebdriverIO

236
487
+ 1
40
Add tool

Nightwatchjs vs WebdriverIO: What are the differences?

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

What is WebdriverIO? Webdriver/Selenium 2.0 JavaScript bindings for Node.js. WebdriverIO lets you control a browser or a mobile application with just a few lines of code. Your test code will look simple, concise and easy to read.

Nightwatchjs and WebdriverIO can be categorized as "Browser Testing" tools.

Some of the features offered by Nightwatchjs are:

  • e2e
  • test
  • javascript

On the other hand, WebdriverIO provides the following key features:

  • Extendable
  • Support for the WebDriver specification as well as to Appium
  • Easy Test Setup

Nightwatchjs and WebdriverIO are both open source tools. Nightwatchjs with 9.43K GitHub stars and 927 forks on GitHub appears to be more popular than WebdriverIO with 5.04K GitHub stars and 1.44K GitHub forks.

WebbyLab, UniSharp, and GoEuro are some of the popular companies that use Nightwatchjs, whereas WebdriverIO is used by SuperAgendador.com, Soluto, and Shelf. Nightwatchjs has a broader approval, being mentioned in 16 company stacks & 5 developers stacks; compared to WebdriverIO, which is listed in 7 company stacks and 3 developer stacks.

Advice on Nightwatchjs and WebdriverIO
Needs advice
on
JestJestSeleniumSelenium
and
WebdriverIOWebdriverIO
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 · 192.2K views
Recommends
on
SeleniumSelenium

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

See more
Needs advice
on
CypressCypressSelenideSelenide
and
WebdriverIOWebdriverIO

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!!

See more
Replies (3)
Recommends
on
PlaywrightPlaywright

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!

See more
Jinesh Khimsaria
Test Automation Specialist at Personal · | 3 upvotes · 65.7K views
Recommends
on
WebdriverIOWebdriverIO

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.

See more
Recommends
on
CodeceptJSCodeceptJS

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.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Nightwatchjs
Pros of WebdriverIO
  • 3
    Open source
  • 2
    Testing
  • 2
    Automates browsers
  • 1
    Better cross browser (use selenium)
  • 1
    Cross-Browser Testing
  • 1
    Multiple Browser Support
  • 1
    Parallel Test Running
  • 11
    Various integrations to vendors like Sauce Labs
  • 10
    Open Source
  • 8
    Great community
  • 7
    Easy to setup
  • 4
    Best solution for broad browser support

Sign up to add or upvote prosMake informed product decisions

Cons of Nightwatchjs
Cons of WebdriverIO
  • 2
    No automatic wait
  • 8
    High maintenance

Sign up to add or upvote consMake informed product decisions

What is Nightwatchjs?

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.

What is WebdriverIO?

WebdriverIO lets you control a browser or a mobile application with just a few lines of code. Your test code will look simple, concise and easy to read.

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

Jobs that mention Nightwatchjs and WebdriverIO as a desired skillset
CBRE
United States of America Texas Houston
CBRE
United States of America Texas Houston
CBRE
United States of America California Los Angeles
CBRE
United States of America Washington Redmond
CBRE
United States of America Washington Redmond
CBRE
United States of America Texas Richardson
CBRE
United States of America Texas Richardson
What companies use Nightwatchjs?
What companies use WebdriverIO?
See which teams inside your own company are using Nightwatchjs or WebdriverIO.
Sign up for StackShare EnterpriseLearn More

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

What tools integrate with Nightwatchjs?
What tools integrate with WebdriverIO?

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

What are some alternatives to Nightwatchjs and WebdriverIO?
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.
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.
Karma
Karma is not a testing framework, nor an assertion library. Karma just launches a HTTP server, and generates the test runner HTML file you probably already know from your favourite testing framework. So for testing purposes you can use pretty much anything you like.
BrowserStack
BrowserStack is a leading software testing platform for developers to comprehensively test their websites and mobile applications across 2,000+ real browsers and devices in a single cloud platform—and at scale.
See all alternatives