Hi, Fukaya.

you can access cells in the following way:

cell = table[1][2] # second cell of the first row

Also:

table.rows # array of table rows (TableRow objects)
table[1].cells # array of first row cells (TableCell objects)

Of course, it simply can be converted to array of arrays of cell contents.

Regards,
Daniel Vartanov.

On Fri, Oct 10, 2008 at 1:15 PM, Fukaya Yoshikazu <[EMAIL PROTECTED]>wrote:

>  Please let me know how to get a html table into ruby array.
> then I can use the table again without accessing to html.
>
> thanks
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to