module Watir class TableRow < HTMLElement # # Get the n'th of this element # # @return Watir::TableDataCell # def [](idx) td(:index, idx) end private def locate if @parent.kind_of?(Watir::Table) TableRowLocator.new(@parent.wd, @selector, self.class.attribute_list).locate else super end end end # TableRow end # Watir