Module: Arachni::Element::Link::DOM::Capabilities::Submittable

Includes:
DOM::Capabilities::Submittable
Defined in:
lib/arachni/element/link/dom/capabilities/submittable.rb

Overview

Extends DOM::Capabilities::Submittable with Arachni::Element::Link-specific functionality.

Author:

Instance Method Summary collapse

Methods included from DOM::Capabilities::Submittable

prepare_browser, prepare_callback, #submit, submit_with_browser

Methods included from Capabilities::Submittable

#action, #action=, #dup, #http, #http_request, #id, #initialize, #method, #method=, #platforms, #submit, #to_h

Instance Method Details

#prepare_browser(browser, options) ⇒ Object


20
21
22
23
24
# File 'lib/arachni/element/link/dom/capabilities/submittable.rb', line 20

def prepare_browser( browser, options )
    @browser = browser
    browser.javascript.custom_code = options[:custom_code]
    browser.javascript.taint       = options[:taint]
end