Sha256: 700f6e94859d6aa6b33b3f700d8e57030ab61899fe622b216e5288b6477e6571

Contents?: true

Size: 745 Bytes

Versions: 5

Compression:

Stored size: 745 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.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 Form
module Capabilities

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

    # @return   [DOM]
    def dom
        return if skip_dom?
        return @dom if @dom
        return if !node || inputs.empty?
        super
    end

end

end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/element/form/capabilities/with_dom.rb
arachni-1.6.1.2 lib/arachni/element/form/capabilities/with_dom.rb
arachni-1.6.1.1 lib/arachni/element/form/capabilities/with_dom.rb
arachni-1.6.1 lib/arachni/element/form/capabilities/with_dom.rb
arachni-1.6.0 lib/arachni/element/form/capabilities/with_dom.rb