tbody . each( ) ; method missing watir -


Hello there I'm not sure if I'm using wrong water syntax or if there is something wrong with my water Writing to go through each row of a table, the code below (

  e () {| I .....}   

When I run this code, I get the wrong error code. Also, when I

e.frame (: name = & Gt; "content") frame (: name = & gt; "main")). ("Class =" gt; blacklabel "); Length ()

I get the missing method error below is the website I am using.

 Enter image details here You want to repeat on the collection of rows rather than table - that is, you need to call Rows () before each () . You want to do this:

  my_table = e.frame (: name = & Gt; "content") frame (: name = & gt; "main"). Tbody (: class = & gt; "B Laclabel ") my_table.rows.each {| i | .....}   

TDE element uses tableshopping class. TableSection API can be seen here.

Comments