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.1.4 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.1.3 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.1.2 lib/watir-webdriver/cell_container.rb
ayanko-watir-webdriver-0.1.1.1 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.1.1 lib/watir-webdriver/cell_container.rb
watir-webdriver-0.1.0 lib/watir-webdriver/cell_container.rb