Sha256: 69d0ab6f25cc9cd69ad7fd873b424d05c1034cbff370ac5ef14f937accbfc0fe
Contents?: true
Size: 377 Bytes
Versions: 7
Compression:
Stored size: 377 Bytes
Contents
module Watir # # Custom class representing table row (tr). # class Row < TableRow end # Row class RowCollection < TableRowCollection def elements # we do this craziness since the xpath used will find direct child rows # before any rows inside thead/tbody/tfoot... super.sort_by { |e| e.attribute(:rowIndex).to_i } end end end # Watir
Version data entries
7 entries across 7 versions & 2 rubygems