Module: Watir::CellContainer

Included in:
TableRow
Defined in:
lib/watir/cell_container.rb

Instance Method Summary collapse

Instance Method Details

#cell(opts = {}) ⇒ Cell

Returns table cell.

Returns:



11
12
13
# File 'lib/watir/cell_container.rb', line 11

def cell(opts = {})
  Cell.new(self, opts)
end

#cells(opts = {}) ⇒ Cell

Returns table cells collection.

Returns:



21
22
23
# File 'lib/watir/cell_container.rb', line 21

def cells(opts = {})
  CellCollection.new(self, opts)
end