javascript - Nightwatch.js loop through table -


i using nightwatch.js write system tests. want loop through elements of table , check values. how can nightwatch.js? table has <tbody> element containing several rows <tr>. every row has several columns <td>. want values of every first <td> element in every row.

take peek @ answer here. talks bit how can use selenium webelements navigate through tree check value of each.

it's bit goofy; you'll want write custom command can through nightwatch.js custom commands navigates through tree checking values you're looking resolve.


Comments

Post a Comment

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -