I have a page with a table, say:
<table> <tr><td>Element1</td></tr> <tr><td>Element2</td></tr> </table>
I am trying to test with a cucumber and capybara. How can I get the number of rows of a table in a step definition (is this the only table on the page)?
pomel source share