WebdriverIO VS nightwatch

Compare WebdriverIO vs nightwatch and see what are their differences.

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
WebdriverIO nightwatch
25 16
7,529 11,083
1.2% 0.5%
9.8 9.5
6 days ago 6 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

WebdriverIO

Posts with mentions or reviews of WebdriverIO. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-03.

nightwatch

Posts with mentions or reviews of nightwatch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-18.
  • How To Perform Automation Testing With Cucumber And Nightwatch JS?
    2 projects | dev.to | 18 Apr 2022
    Nightwatch.js is a popular open-source, Selenium JavaScript-based test automation framework for automating browser-based web applications and websites. It is written in Node.js runtime and uses the W3C WebDriver API (formerly Selenium WebDriver) for interacting with various browsers to perform commands and assertions on DOM elements.
  • Properly Configuring Nightwatch to Run Geckodriver
    3 projects | dev.to | 26 Mar 2022
    For Firefox-specific options (like command-line args and browser about:config prefs), the property to use is moz:firefoxOptions. That is shipping in the latest default nightwatch.conf.js file, as is the parallel goog:chromeOptions for chromedriver. But if you've got a legacy configuration file—like I did—you'll want to update the old chromeOptions property, too.
    3 projects | dev.to | 26 Mar 2022
    I’ll get right to it: both the stock Nightwatch configuration file (as of at least Nightwatch v. 2.0.9) and the Nightwatch docs are inaccurate for using the geckodriver web driver (specifically, v. 0.30.0) to run tests. Here is what you need to do, isolated to the firefox environment portion of the test_settings object in a nightwatch.conf.js file:
  • Create, Test and Deploy a Single Page App with Vue 3 + Vite and Pinia
    1 project | dev.to | 7 Feb 2022
    Github Discussions
  • Learn How To Create, Test and Deploy a Single Page App with Vue 3 + Vite and Pinia
    11 projects | dev.to | 5 Feb 2022
    Make sure the current working directory is the project root and then simply run an example test which are bundled with Nightwatch. We’ll pick the duckDuckGo test because it’s the fastest:
    11 projects | dev.to | 5 Feb 2022
    writing and running automated end-to-end tests with Nightwatch.js
  • Possible alternatives to Front End Web Development
    1 project | reddit.com/r/Frontend | 6 Dec 2021
    If the company uses something like Cypress or Nightwatch, then you'll need to write tests in Javascript, and often will deal with APIs / patterns (e.g. CSS selectors) that appear in traditional frontend work.
  • How to automate tests for your website using Nightwatch.js ? - Part 1- Setting up nightwatch
    2 projects | dev.to | 3 Dec 2021
    Powered by Node.js, Nightwatch.js is an open-source end-to-end test automation tool for web-based applications, browser applications, and websites. For further information and guide in Nightwatch.js, you can visit their official website
  • Advanced Roadmap for React.js developers
    20 projects | dev.to | 25 Nov 2021
    -Selenium -Webdriver -Cypress -Puppeteer -Cucumber.js -Nightwatch.js
  • Visual Regression Test with Nigthwatch VRT
    4 projects | dev.to | 3 Nov 2021
    The definition of nightwatch-vrt is quite clear from its name. It is a VRT tool that works as an extension to nightwatch.js. Using nightwatch-vrt is pretty straightforward. You only need to invoke the screenshotIdenticalToBaseline function to make a comparison of the current screenshot with the respective baseline image. And if you look at the internal logic of this function then you will find that all it does is wait for an element to be present, then capture the screenshot of that element, compare it with the baseline, and finally return the comparison result. And if you look further into the image comparison logic then you will notice that nightwatch-vrt actually uses JIMP (JavaScript Image Manipulation Program) which is built with Javascript with no native dependencies.

What are some alternatives?

When comparing WebdriverIO and nightwatch you can also consider the following projects:

Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

jest - Delightful JavaScript Testing.

Protractor - E2E test framework for Angular apps

TestCafe - A Node.js tool to automate end-to-end web testing.

Cypress - Fast, easy and reliable testing for anything that runs in a browser.

CodeceptJS - Supercharged End 2 End Testing Framework for NodeJS

electron-spectron-example - A example of using Spectron to test an Electron application

Nightmare - A high-level browser automation library.

istanbul - Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.