nightwatch
Version:
Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.
17 lines (16 loc) • 551 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class ElementsAssertions {
constructor(scopedElements, { negated, nightwatchInstance }) {
this.negated = negated;
this.scopedElements = scopedElements;
this.nightwatchInstance = nightwatchInstance;
}
get not() {
return new ElementsAssertions(this.scopedElements, {
negated: true,
nightwatchInstance: this.nightwatchInstance
});
}
}
module.exports.ScopedElementsAssertions = ElementsAssertions;