Class: FireWatir::FileFields

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

Overview

Class for accessing all the File Field elements in the document.

It would normally only be accessed by the FireWatir::Container#file_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



194
195
196
# File 'lib/firewatir/element_collections.rb', line 194

def locate_elements
  locate_tagged_elements("input", ["file"])
end