Module: Arachni::Element::DOM::Capabilities::Locatable
- Included in:
- Form::DOM, Link::DOM, LinkTemplate::DOM, UIForm::DOM, UIInput::DOM
- Defined in:
- lib/arachni/element/dom/capabilities/locatable.rb
Overview
Instance Method Summary collapse
-
#locate ⇒ Object
Locates the element in the page.
- #locator ⇒ Object
Instance Method Details
#locate ⇒ Object
Locates the element in the page.
21 22 23 |
# File 'lib/arachni/element/dom/capabilities/locatable.rb', line 21 def locate locator.locate( browser ) end |
#locator ⇒ Object
16 17 18 |
# File 'lib/arachni/element/dom/capabilities/locatable.rb', line 16 def locator @locator ||= Arachni::Browser::ElementLocator.from_node( node ) end |