Checks if the number of elements specified by a selector is equal or not to a given value.

Usage

Example

this.demoTest = function (browser) {
  browser.expect.elements('div').count.to.equal(10);
  browser.expect.elements('p').count.to.not.equal(1);
}