Sha256: 3e5c487e590a05c588e8e56e63f0f7f8f34b13e13bf8b6394fac0ef1da15f3bf

Contents?: true

Size: 409 Bytes

Versions: 46

Compression:

Stored size: 409 Bytes

Contents

module Watir
  module CellContainer

    def cell(*args)
      cell = TableCell.new(self, extract_selector(args).merge(:tag_name => /^(th|td)$/))
      cell.locator_class = ChildCellLocator

      cell
    end

    def cells(*args)
      cells = TableCellCollection.new(self, extract_selector(args).merge(:tag_name => /^(th|td)$/))
      cells.locator_class = ChildCellLocator

      cells
    end

  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
watir-webdriver-0.6.1 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.6.0 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.8 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.7 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.6 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.5 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.4 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.3 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.2 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.1 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.5.0 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.4.1 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.4.0 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.9 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.8 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.7 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.6 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.5 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.4 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.3.3 lib/watir-webdriver/cell_container.rb