title: Upload file to an input area using FileApi
body: <p>I'm using <strong>Capybara</strong> + <strong>RSpec</strong> and the <strong>capybara_webkit</strong> as driver. And a JS uploader with FileApi.<br>
  I'm trying to upload three images here:</p>
  
  <pre><code>&lt;input type="file" name="image" multiple="" accept="image/*"&gt;
  </code></pre>
  
  <p><br>When I click on the "Select photos" button (on the browser), it opens the typical window where I can select 3 files <strong>from my computer</strong>.
  <br>I'd like to know how to reproduce it on capybara, as when the photos selector opens, I don't have the control on it. I tried to add the pictures to my tests folder and tried:</p>
  
  <pre><code>attach_file('image', File.absolute_path('../pictures/photo1.JPG'))
  </code></pre>
  
  <p>but with no results.</p>