module.export = {'Not Tested Demo of Count-Number-Of-Elements-With-Given-CSS-Class': function(browser) {browser.execute(function(selector){return document.querySelectorAll(selector).length;}, '.item_bluebutton', function callback(number_of_elements){browser.assert.ok(number_of_elements); // should passbrowser.assert.equal(0); // should fail})}}
Using the elements command.