Class: CapybaraPageObject::Anchor
- Defined in:
- lib/element/anchor.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Node
#classes, from_string, #initialize
Methods included from HTML5Data
Methods included from Collections
Methods included from Delegators
Constructor Details
This class inherits a constructor from CapybaraPageObject::Node
Instance Method Details
#link ⇒ Object
3 4 5 |
# File 'lib/element/anchor.rb', line 3 def link URI(source[:href]) end |