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