module Watir::CellContainer

Public Instance Methods

cell(*args) click to toggle source

Returns table cell.

@return [Cell]

# File lib/watir-webdriver/cell_container.rb, line 10
def cell(*args)
  Cell.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/))
end
cells(*args) click to toggle source

Returns table cells collection.

@return [Cell]

# File lib/watir-webdriver/cell_container.rb, line 20
def cells(*args)
  CellCollection.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/))
end