Loop over elements collection with nightwatch.js

  • 0 Replies
  • 2581 Views
Loop over elements collection with nightwatch.js
« on: July 21, 2016, 19:00:47 pm »
How can i loop through my array to assert values ?

elements.value.forEach(function(element) {
   browser.elementIdValue(element.ELEMENT)
}

 

Sitemap 1 2 3 4 5 6 7 8