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

Show all the images available on the page.

Name, id, src and index of all the images available on the page.
Show all the images available on the page . Name id src and index of all the images available on the page .
def show_images
            images = Document.new(self).get_images
            puts "There are #{images.length} images"
            index = 1
            images.each do |l|
                puts "image: name: #{l.name}"
                puts "         id: #{l.id}"
                puts "        src: #{l.src}"
                puts "      index: #{index}"
                index += 1
            end
        end
def show_images images = Document . new ( self ) . get_images puts "There are #{images.length} images" index = 1 images . each do | l | puts "image: name: #{l.name}" puts "         id: #{l.id}" puts "        src: #{l.src}" puts "      index: #{index}" index += 1 end end
Description:
Show all the images available on the page.
Description : Show all the images available on the page .