Nightwatchjs logo

Nightwatchjs

Automated testing and continous integration framework based on node.js and selenium webdriver
137
259
+ 1
6

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 10.9K GitHub stars and 1.1K GitHub forks. Here’s a link to Nightwatchjs's open source repository on GitHub

Who uses Nightwatchjs?

Companies
26 companies reportedly use Nightwatchjs in their tech stacks, including Amazon, PiNCAMP, and Quality Assurance.

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

Nightwatchjs Integrations

Pros of Nightwatchjs
2
Testing
2
Automates browsers
1
Better cross browser (use selenium)
1
Open source
Decisions about Nightwatchjs

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

Joshua Dean Küpper
CEO at Scrayos UG (haftungsbeschränkt) · | 6 upvotes · 116.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

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

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

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