jeudi 25 juin 2015

Nightwatch.js loop through table

I am using Nightwatch.js to write some System Tests. Now I want to loop through all elements of a table and check their values. How can I do this with Nightwatch.js? The table has a <tbody> element containing several rows <tr>. Every row has several columns <td>. I want to get the values of every first <td> element in every row.

Aucun commentaire:

Enregistrer un commentaire