Sha256: 2914793cc457a013cf986b227a5018e3cc63a4c9b63e1052eed5312c54a4da57
Contents?: true
Size: 589 Bytes
Versions: 39
Compression:
Stored size: 589 Bytes
Contents
module Watir class TableRow < HTMLElement include CellContainer include Enumerable # # Yields each TableCell associated with this row. # # @example # row = browser.tr # row.each do |cell| # puts cell.text # end # # @yieldparam [Watir::TableCell] element Iterate through the cells for this row. # def each(&block) cells.each(&block) end # # Get the n'th cell (<th> or <td>) of this row # # @return Watir::Cell # def [](idx) cell(index: idx) end end # TableRow end # Watir
Version data entries
39 entries across 39 versions & 1 rubygems