vendor/gems/gems/firewatir-1.2.1/firewatir.rb
#
# Description:
#   Show all the pre elements available on the page.
#
# Output:
#   Id, name and index of all the pre elements available on the page.
#

Show all the pre elements available on the page.

Id, name and index of all the pre elements available on the page.
Show all the pre elements available on the page . Id name and index of all the pre elements available on the page .
def show_pres
            pres = Document.new(self).get_pres
            puts "There are #{pres.length} pres"
            index = 1
            pres.each do |l|
                puts "pre:     id: #{l.id}"
                puts "       name: #{l.name}"
                puts "      index: #{index}"
                index += 1
            end
        end
def show_pres pres = Document . new ( self ) . get_pres puts "There are #{pres.length} pres" index = 1 pres . each do | l | puts "pre:     id: #{l.id}" puts "       name: #{l.name}" puts "      index: #{index}" index += 1 end end
Description:
Show all the pre elements available on the page.
Description : Show all the pre elements available on the page .