Introducing Nightwatch v3

No-compromise test automation framework with a powerful set of tools to write, run and debug your tests across web and native mobile applications.

npm init nightwatch

Get Started

Trusted by the best dev teams

Amazon Drupal Apache Paypal

WhyNightwatch?

Web, mobile native

One framework for all platforms

  • Mobile webTest on your web apps on real mobile devices, and scale easily by connecting to cloud grids
  • Native mobileTest your native iOS and Android apps with Nightwatch
  • Real desktop browsersTest on real browsers which accurately reflect your users’ environment
Nightwatch test running on a desktop browser and a real mobile device.

Powerful debugging

Searching for bugs just got easy

  • PinpointIdentify the source with the built-in HTML reporter with test statuses and HTTP logs
  • Dig deeperTravel back in time and see DOM History before and after every command
  • ReplicatePause and debug your tests by trying out commands in a REPL interface
Debugging a failed test using HTML reporter and DOM History.

Designed for scale

Millions of tests? No problem

  • Default parallelization & orchestrationTest faster with default parallelization across multiple browsers
  • Cloud grid supportScale with third-party grids —BrowserStack, or others
  • Complex gestures and interactionsTest everything from pinch-zoom to multi-tab and iFrames
Tests running in multiple browsers on a local machine and on multiple machines remotely

Loved by the community

11.3K

GitHub Stars

141K

Used by (repos)

320

Versions released

800K

Monthly downloads

Powerful capabilitiesfor everything you need

Faster than ever

Graph showing difference in test execution duration compared to Cypress

Experience lightning-fast tests with Nightwatch irrespective of whether you run your tests on a single machine or multiple VMs.

Run Sample Tests

Nocompromises

Test following the standard running on web and a real mobile device
Browser Icon

Real browsers

Run your tests on real desktop and mobile browsers instead of browser engines

Icon showing mobile with magnifying lens

Native mobile testing

Test your native iOS and Android applications without any learning curve

Icon showing W3C compliance

Web standards

Nightwatch follows W3C protocol so your interactions reflect a real user

Hearfrom the best

Nightwatch.js has been making remarkable strides since v2, with a steadfast commitment to enhancing the modern dev experience & providing aid to open-source users.
Nightwatch’s intuitive API & syntax makes testing reliable & maintainable. Faster feedback loops via parallel testing lead to faster deployments. Highly recommended!
The component testing side of Nightwatch is so good there’s almost no point doing the other class of test in test/e2e. Game changer stuff.

Seamlesslyintegrate with Nightwatch

Open Sourceat its best

No credit card needed icon

No paywalls

Nightwatch is committed to open source. Everything works for everyone.

A mountain with flag icon

Responsive support

Get your questions answered quickly on our Discord server.

a black and white image of a wrench and gear

Backed by BrowserStack

Nightwatch is actively maintained by the BrowserStack Open Source Program.

Celebrating with a high five

Ready to try out?

Trusted by over 100k repositories for their test automation!

npm init nightwatch

Get Started