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

Overview

Author:

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#domDOM

Returns:

  • (DOM)


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



38
39
40
# File 'lib/arachni/element/capabilities/with_dom.rb', line 38

def dup
    copy_with_dom( super )
end

#skip_dom?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/arachni/element/capabilities/with_dom.rb', line 34

def skip_dom?
    !!@skip_dom
end