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

Show all the labels available on the page.

Name, id, for and index of all the labels available on the page.
Show all the labels available on the page . Name id for and index of all the labels available on the page .
def show_labels
            labels = Document.new(self).get_labels
            puts "There are #{labels.length} labels"
            index = 1
            labels.each do |l|
                puts "label: name: #{l.name}"
                puts "         id: #{l.id}"
                puts "        for: #{l.for}"
                puts "      index: #{index}"
                index += 1
            end
        end
def show_labels labels = Document . new ( self ) . get_labels puts "There are #{labels.length} labels" index = 1 labels . each do | l | puts "label: name: #{l.name}" puts "         id: #{l.id}" puts "        for: #{l.for}" puts "      index: #{index}" index += 1 end end
Description:
Show all the labels available on the page.
Description : Show all the labels available on the page .