Hey guys, I'm trying to get the outerHTML of the cell, which should
be :
<FONT color=green><B>YES</B></FONT>

I am looping through all of the cells in the table and looking for the
outerHTML for each, but when I run the code, I get the error:
method_missing': undefined method `outerHTML' for #<Watir::TableCell:
0x29094d8>

<table border="1">
<tr Align=CENTER>
<tr Align=CENTER>
<td> Row 2  </td> <td> YES </td> <td> No  </td> <td> No  </td> <td>
YES </td>
</tr Align=CENTER>
<tr Align=CENTER>
<td> Row 3  </td> <td> No  </td> <td><FONT Color=GREEN><B>YES</B></
Font></td> <td> No  </td> <td> No  </td>
</tr>
</table>

Using code:
puts $browser.table()[x][y].outerHtml

Thanks guys

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to