Method: Celerity::ElementCollection#to_s

Defined in:
lib/celerity/element_collection.rb

#to_sString

Note: This can be quite useful in irb:

puts browser.text_fields

Returns:

  • (String)

    A string representation of all elements in this collection.



104
105
106
# File 'lib/celerity/element_collection.rb', line 104

def to_s
  map { |e| e.to_s }.join("\n")
end