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

Show all the spans available on the page.

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