Sha256: 17d6d71abbae144cb634ba224d37e74e64cea9f6ef7b3f93b2678ece8d3e9657

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

module Watir
  class TrsCollection < ElementCollection

    def elements
      return super unless @parent.kind_of?(Watir::Table)
      @elements ||= TableRowLocator.new(
        @parent.wd,
        @element_class.default_selector,
        @element_class.attribute_list
      ).locate_all
    end

  end # ButtonsCollection
end # Watir

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
watir-webdriver-0.0.1.dev3 lib/watir-webdriver/collections/table_rows_collection.rb
watir-webdriver-0.0.1.dev2 lib/watir-webdriver/collections/table_rows_collection.rb
watir-webdriver-0.0.1.dev lib/watir-webdriver/collections/table_rows_collection.rb