def span_with_id(span_id, options = {})
      if options && options[:index] then
        span(:id => span_id.to_s, :index => options[:index]).text
      else
        span(:id, span_id).text
      end
    end
def span_with_id(span_id, options = {})
      if options && options[:index] then
        span(:id => span_id.to_s, :index => options[:index]).text
      else
        span(:id, span_id).text
      end
    end
return the text of specific (identified by attribute "id") span tag
 For page containing
     <span id="preferred_recorder">iTest2/Watir Recorder</span>
 span_with_id("preferred_recorder") # => iTest2/Watir Recorder