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

Overview

Author:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#domDOM

Returns:



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

def dom
  @dom
end

#skip_domBool?

Returns Force #dom to return nil -- used as an audit optimization.

Returns:

  • (Bool, nil)

    Force #dom to return nil -- used as an audit optimization.



20
21
22
# File 'lib/arachni/element/capabilities/with_dom.rb', line 20

def skip_dom
  @skip_dom
end

Instance Method Details

#dupObject



40
41
42
# File 'lib/arachni/element/capabilities/with_dom.rb', line 40

def dup
    copy_with_dom( super )
end

#skip_dom?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/arachni/element/capabilities/with_dom.rb', line 36

def skip_dom?
    !!@skip_dom
end