UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

17 lines (14 loc) 434 B
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;