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

Author:

  • Tasos “Zapotek” Laskos <tasos.laskos@arachni-scanner.com>

Instance Method Summary collapse

Instance Method Details

#locateObject

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

#locatorObject



16
17
18
# File 'lib/arachni/element/dom/capabilities/locatable.rb', line 16

def locator
    @locator ||= Arachni::Browser::ElementLocator.from_node( node )
end