Description:
Class for FileField element.
Description:
Sets the path of the file in the textbox.
Input:
path - Path of the file.
# File lib/firewatir/elements/file_field.rb, line 16 def set(path) assert_exists path.gsub!("\\", "\\\\\\") jssh_socket.send("#{element_object}.value = \"#{path}\";\n", 0) read_socket() @o.fireEvent("onChange") @@current_level = 0 end