lib/watir/container.rb in watir-1.9.0.rc1 vs lib/watir/container.rb in watir-1.9.0.rc2

- old
+ new

@@ -267,10 +267,10 @@ # browser.file_field(:id, 'up_1') # access the file upload field with an ID of up_1 # browser.file_field(:name, 'upload') # access the file upload field with a name of upload # browser.file_field(:index, 2) # access the second file upload on the page (1 based, so the first field is accessed with :index,1) # def file_field(how, what=nil) - FileUpload.new(self, how, what) + FileField.new(self, how, what) end def javascript_dialog(opts={}) JavascriptDialog.new(opts) end