5
User
Recs.
Recs.
7
Updates
Last
Updated
Updated
Activity
14 Options
"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"
Specs
Specs are quantitative aspects of the option such as the price
Pros
Know any positive aspects of this option?
Cons
Know any negative aspects of this option?
Recommendations
Nightwatch.js
Recommended 2 years ago
DeterminedNuwa hasn’t added their experience, pros or cons to their recommendation.
Nightwatch.js
Recommended 5 years ago
MemorableCabracan hasn’t added their experience, pros or cons to their recommendation.
Nightwatch.js
Recommended 5 years ago
NonchalantMomus hasn’t added their experience, pros or cons to their recommendation.
Nightwatch.js
Recommended 6 years ago
ExuberantIrpa hasn’t added their experience, pros or cons to their recommendation.
Nightwatch.js
Recommended 6 years ago
Roman hasn’t added their experience, pros or cons to their recommendation.
Comments
Flagged Pros + Cons
Con Includes its own testing framework / assertions library
Unlike WebdriverIO, which lets you use various test frameworks and assertion libraries (e.g. Jasmine, Cucumber, Mocha + Chai), Nightwatch comes with its own BDD-style interface for performing assertions, based on Chai.
Here's a simple test example:
module.exports = {
'Demo test Google' : function (browser) {
browser
.url('http://www.google.com')
.waitForElementVisible('body', 1000)
.setValue('input[type=text]', 'nightwatch')
.waitForElementVisible('button[name=btnG]', 1000)
.click('button[name=btnG]')
.pause(1000)
.assert.containsText('#main', 'Night Watch')
.end();
}
};