Sha256: 246bae8eb0f65ec64124b9401f85f9f7b64e6c17aab5933a4a94208eb9eeb3a5

Contents?: true

Size: 432 Bytes

Versions: 46

Compression:

Stored size: 432 Bytes

Contents

module Watir
  module CellContainer

    #
    # Returns table cell.
    #
    # @return [Cell]
    #

    def cell(*args)
      Cell.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/))
    end

    #
    # Returns table cells collection.
    #
    # @return [Cell]
    #

    def cells(*args)
      CellCollection.new(self, extract_selector(args).merge(tag_name: /^(th|td)$/))
    end

  end # CellContainer
end # Watir

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
watir-6.6.2 lib/watir/cell_container.rb
watir-6.6.1 lib/watir/cell_container.rb
watir-6.6.0 lib/watir/cell_container.rb
watir-6.5.0 lib/watir/cell_container.rb
watir-6.4.3 lib/watir/cell_container.rb
watir-6.4.2 lib/watir/cell_container.rb
watir-6.4.1 lib/watir/cell_container.rb
watir-6.4.0 lib/watir/cell_container.rb
watir-6.4.0.rc2 lib/watir/cell_container.rb
watir-6.4.0.rc1 lib/watir/cell_container.rb
watir-6.3.0 lib/watir/cell_container.rb
watir-6.2.1 lib/watir/cell_container.rb
watir-6.2.0 lib/watir/cell_container.rb
watir-6.1.0 lib/watir/cell_container.rb
watir-6.0.3 lib/watir/cell_container.rb
watir-6.0.2 lib/watir/cell_container.rb
watir-6.0.1 lib/watir/cell_container.rb
watir-webdriver-0.9.9 lib/watir-webdriver/cell_container.rb
watir-6.0.0 lib/watir/cell_container.rb
watir-6.0.0.beta5 lib/watir/cell_container.rb