Sha256: 55f2f4f222879a15001beda9fe2ba6c2e8a7b5082449d733cbdc7bc262f946c5
Contents?: true
Size: 594 Bytes
Versions: 18
Compression:
Stored size: 594 Bytes
Contents
module PageObject module Platforms module WatirWebDriver module Table # # Return the PageObject::Elements::TableRow for the index provided. Index # is zero based. # # @return [PageObject::Elements::TableRow] # def [](idx) Object::PageObject::Elements::TableRow.new(@element[idx], :platform => :watir_webdriver) end # # Returns the number of rows in the table. # def rows element.wd.find_elements(:xpath, child_xpath).size end end end end end
Version data entries
18 entries across 18 versions & 1 rubygems