How to get the row size of the html's table?

in vb, we can use webbrowaer to get tables row.
for example,


then we can get the row size of html’table 1

if i have a html file(/home/name/test.html) , there are many tables in
it , how can i use ruby to get the row size of html’table 1,such as
webbrowser1.document.getElementsByTagName(“table”)(0).rows.length (vb)


I think this might be useful

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs