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