vendor/gems/gems/firewatir-1.2.1/firewatir.rb
#
# Description:
#   Show all the divs available on the page.
#
# Output:
#   Name, id, class and index of all the divs available on the page.
#

Show all the divs available on the page.

Name, id, class and index of all the divs available on the page.
Show all the divs available on the page . Name id class and index of all the divs available on the page .
def show_divs
            divs = Document.new(self).get_divs
            puts "There are #{divs.length} divs"
            index = 1
            divs.each do |l|
                puts "div:   name: #{l.name}"
                puts "         id: #{l.id}"
                puts "      class: #{l.className}"
                puts "      index: #{index}"
                index += 1
            end
        end
def show_divs divs = Document . new ( self ) . get_divs puts "There are #{divs.length} divs" index = 1 divs . each do | l | puts "div:   name: #{l.name}" puts "         id: #{l.id}" puts "      class: #{l.className}" puts "      index: #{index}" index += 1 end end
Description:
Show all the divs available on the page.
Description : Show all the divs available on the page .