Class: FireWatir::TextFields

Inherits:
ElementCollections show all
Defined in:
lib/firewatir/element_collections.rb

Overview

Class for accessing all the text field elements in the document.

It would normally only be accessed by the FireWatir::Container#text_fields method

Instance Method Summary collapse

Methods inherited from ElementCollections

#[], #each, #first, inherited, #initialize, #inspect, #last, #length, #to_s

Methods included from JsshSocket

#js_eval, #js_eval_method, #jssh_socket, #read_socket

Constructor Details

This class inherits a constructor from FireWatir::ElementCollections

Instance Method Details

#locate_elementsObject



237
238
239
# File 'lib/firewatir/element_collections.rb', line 237

def locate_elements
  locate_tagged_elements("input", ["text", "textarea", "password"])
end