Class: CapybaraPageObject::TableRow
- Defined in:
- lib/capybara-page-object/elements/table_row.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods included from HTML5Data
Methods included from Collections
Methods inherited from Node
#classes, element, field, from_string, #initialize
Methods included from Delegators
Constructor Details
This class inherits a constructor from CapybaraPageObject::Node
Instance Method Details
#header? ⇒ Boolean
3 4 5 |
# File 'lib/capybara-page-object/elements/table_row.rb', line 3 def header? source.all('th').any? end |