Sha256: 9b7884ceaeca838ca648a9ae78c76b40b80422233b4d68d45b51a57eb8b827dc

Contents?: true

Size: 848 Bytes

Versions: 3

Compression:

Stored size: 848 Bytes

Contents

=begin
    Copyright 2010-2015 Tasos Laskos <tasos.laskos@arachni-scanner.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

module Arachni::Element
class LinkTemplate::DOM
module Capabilities

# Extends {Arachni::Element::DOM::Capabilities::Submittable} with
# {LinkTemplate}-specific functionality.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
module Submittable
    include Arachni::Element::DOM::Capabilities::Submittable

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

end
end
end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arachni-1.3.2 lib/arachni/element/link_template/dom/capabilities/submittable.rb
arachni-1.3.1 lib/arachni/element/link_template/dom/capabilities/submittable.rb
arachni-1.3 lib/arachni/element/link_template/dom/capabilities/submittable.rb