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

P

Pen Ttt

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

webbrowser1.document.getElementsByTagName("table")(0).rows.length

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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top