Sha256: 54f03c2e3e63dd1bebacec10aa28116111c0d260b055954c503f65fe5a1b8905

Contents?: true

Size: 304 Bytes

Versions: 4

Compression:

Stored size: 304 Bytes

Contents

module Watir
  class TableRow < HTMLElement

    def [](idx)
      td(:index, idx)
    end

    def locate
      if @parent.kind_of?(Watir::Table)
        TableRowLocator.new(@parent.wd, @selector, self.class.attribute_list).locate
      else
        super
      end
    end

  end # TableRow
end # Watir

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
watir-webdriver-0.0.1.dev4 lib/watir-webdriver/elements/table_row.rb
watir-webdriver-0.0.1.dev3 lib/watir-webdriver/elements/table_row.rb
watir-webdriver-0.0.1.dev2 lib/watir-webdriver/elements/table_row.rb
watir-webdriver-0.0.1.dev lib/watir-webdriver/elements/table_row.rb