Class: CapybaraPageObject::Table
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#initialize, #path, #prefix, #visit
Methods included from Extractors::PageLevel
#forms, #meta_description, #meta_keywords, #tables, #title
Methods included from Extractors::Common
Constructor Details
This class inherits a constructor from CapybaraPageObject::Base
Instance Method Details
#headers(attr = {}) ⇒ Object
9 10 11 |
# File 'lib/table.rb', line 9 def headers(attr={}) extract('th', attr) end |
#rows(attr = {}) ⇒ Object
5 6 7 |
# File 'lib/table.rb', line 5 def rows(attr={}) extract('tr', attr) end |