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.
This comment has been removed by the author.
ReplyDelete