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