Atav32 Atav32 - 2 years ago 977
Javascript Question

What are the differences between using Nightwatch.js vs Protractor

What are the differences? What are the advantages of using one over the other for an Angular project?

Nightwatch.js vs Protractor

Answer Source

If you are working on an AngularJS project, the choice is simple - Protractor:

  • it is being made specifically for angular apps (though it can be used for non-angular apps also)
    • supports angular-specific locator strategies (like by.model, by.repeater etc)
    • waits for angular to start up during the page load (sync)
  • it is being actively maintained and improved mostly by google developers with a close cooperation with an angular team - this means that protractor follows the angular release cycle and new changes
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download