Module: Arachni::Element::Form::Capabilities::WithDOM

Includes:
Capabilities::WithDOM
Defined in:
lib/arachni/element/form/capabilities/with_dom.rb

Overview

Extends Capabilities::WithDOM with Arachni::Element::Form-specific functionality.

Author:

Instance Attribute Summary

Attributes included from Capabilities::WithDOM

#skip_dom

Instance Method Summary collapse

Methods included from Capabilities::WithDOM

#dup, #skip_dom?

Instance Method Details

#domDOM

Returns:



21
22
23
24
25
26
# File 'lib/arachni/element/form/capabilities/with_dom.rb', line 21

def dom
    return if skip_dom?
    return @dom if @dom
    return if !node || inputs.empty?
    super
end