On Thu, May 5, 2011 at 11:23 AM, Dan Claudiu Pop <danclaudiu...@gmail.com>
wrote:
>      puts @browser.tbody(:index, 0)[index]
> It returns: #<Watir::TableRow:0x1214726>. I want to return the actual
> row  index/number.

Try this:

puts index

instead of:

puts @browser.tbody(:index, 0)[index]

Željko

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to