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