title: How can i upload a file (type="file") using Selenium WebDriver in Ruby
body: <p>How can I upload a file with Selenium WebDriver,using Ruby. Here is what I am doing. However no keys are being sent:</p>
  
  <pre><code>@driver.find_element(:id, "upload_file").clear
  
  @driver.find_element(:id, "upload_file").send_keys ("/Users/mrunal/Documents/AboutStacks.pdf")
  </code></pre>