Class: Arachni::Browser::Javascript::DOMMonitor

Inherits:
Proxy
  • Object
show all
Defined in:
lib/arachni/browser/javascript/dom_monitor.rb

Overview

Provides access to the `DOMMonitor` JS interface.

Author:

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

Instance Attribute Summary

Attributes inherited from Proxy

#javascript, #stub

Instance Method Summary collapse

Methods inherited from Proxy

#call, #function?, function?, #js_object, mutex, #respond_to?

Constructor Details

#initialize(javascript) ⇒ DOMMonitor

Returns a new instance of DOMMonitor.

Parameters:



20
21
22
# File 'lib/arachni/browser/javascript/dom_monitor.rb', line 20

def initialize( javascript )
    super javascript, 'DOMMonitor'
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Arachni::Browser::Javascript::Proxy

Instance Method Details

#classObject



24
25
26
# File 'lib/arachni/browser/javascript/dom_monitor.rb', line 24

def class
    DOMMonitor
end