Nightwatchjs logo

Nightwatchjs

Automated testing and continous integration framework based on node.js and selenium webdriver
200
322
+ 1
11

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.
Nightwatchjs is a tool in the Browser Testing category of a tech stack.
Nightwatchjs is an open source tool with 11.7K GitHub stars and 1.3K GitHub forks. Here’s a link to Nightwatchjs's open source repository on GitHub

Who uses Nightwatchjs?

Companies
28 companies reportedly use Nightwatchjs in their tech stacks, including Amazon, Dixa, and PiNCAMP.

Developers
96 developers on StackShare have stated that they use Nightwatchjs.

Nightwatchjs Integrations

Node.js, Selenium, BrowserStack, LambdaTest, and Argos CI are some of the popular tools that integrate with Nightwatchjs. Here's a list of all 5 tools that integrate with Nightwatchjs.
Pros of Nightwatchjs
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
Decisions about Nightwatchjs

Here are some stack decisions, common use cases and reviews by companies and developers who chose Nightwatchjs in their tech stack.

Needs advice
on
CypressCypress
and
NightwatchjsNightwatchjs

We are planning to switch to an automation tool as Protractor is not going to provide support.

Why does everyone prefer Cypress which is a paid tool if we have Nightwatchjs? Can someone help me understand which one to prefer with their advantages and disadvantages?

See more
Needs advice
on
CypressCypressTestCafeTestCafe
and
WebdriverIOWebdriverIO

Hello, I am currently looking for a tool for automation tests in order to implement it into our CI/CD pipeline for both web development but also for Android and iOS. I considered Cypress but I need compatibility with Safari. I have knowledge of Java, C#, and JavaScript so the language isn't an issue. Also looked into Nightwatchjs and Puppeteer but found these 3 above more interesting.

My main concern is:

  • Browser support - Desktop - needs to support Google Chrome, Safari, Firefox and Microsoft Edge (minimum)
  • Browser support - Mobile - Safari and Chrome (minimum)
  • App - Android and iOS

If possible i would like to avoid using another tool for mobile (like Appium)

What do you use? What is the one you recommend (even another from the ones mentioned)

Thank you very much for your help!

See more
Joshua Dean Küpper
CEO at Scrayos UG (haftungsbeschränkt) · | 7 upvotes · 601.1K views

For our internal team and collaboration panel we use Nuxt.js (with TypeScript that is transpiled into ES6), Webpack and npm. We enjoy the opinionated nature of Nuxt.js over vanilla Vue.js, as we would end up using all of the components Nuxt.js incorporates anyways and we can adhere to the conventions setup by the Nuxt.js project, which allows us to get better support in case we run into any dead ends. Webpack allows us to create reproducable builds and also debug our application with hot reloads, which greately increased the pace at which we are able to perform and test changes. We also incorporated a lot of testing (ESLint, Chai, Jasmine, Nightwatchjs) into our pipelines and can trigger those jobs through GitLab CI. All packages are fetched through npm, so that we can keep our git repositories slim and are notified of new updates aswell as reported security flaws.

See more

Nightwatchjs's Features

  • e2e
  • test
  • javascript
  • nodejs

Nightwatchjs Alternatives & Comparisons

What are some alternatives to Nightwatchjs?
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.
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.
See all alternatives

Nightwatchjs's Followers
322 developers follow Nightwatchjs to keep up with related blogs and decisions.