title: Unable to upload file through selenium?
body: <p>I am trying to upload a csv file to my application.</p>
  
  <p>I am getting the following error:</p>
  
  <blockquote>
    <p>unknown error: cannot focus element   (Session info:
    chrome=55.0.2883.87)   (Driver info: chromedriver=2.25.426924
    (649f9b868f6783ec9de71c123212b908bf3b232e),platform=Linux
    3.13.0-107-generic x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 101 milliseconds</p>
  </blockquote>
  
  <p>My code :</p>
  
  <pre><code>UtilsMethods.element = UtilsMethods.driver.findElement(By.xpath(".//*[@id='dragandrophandler']"));
  Thread.sleep(10);
  UtilsMethods.element.sendKeys("/home/arima/wrangler_testdata/Telstra/test.csv");
  </code></pre>
  
  <p>html code :</p>
  
  <pre><code>&lt;section class="wrangler-product-upload-connect z-depth-1"&gt;
  &lt;div class="row" style="margin-top:25px;"&gt;
  &lt;div class="col l12 m12 s12"&gt;
  &lt;div class="col l12 m12 s12" style="padding: 0px;"&gt;
  &lt;div class="upload-connect-content"&gt;
  &lt;div id="upload" class="col s12" style="display: block;"&gt;
  &lt;input id="fileupload" style="display:none" type="file"/&gt;
  &lt;form class="file-uplaod-form" method="post" action="" enctype="multipart/form-data"&gt;
  &lt;div class="box-content center-align"&gt;
  &lt;div id="dragandrophandler" style="height:250px;"&gt;
  &lt;i class="fa fa-cloud-upload" aria-hidden="true"/&gt;
  &lt;br/&gt;
    Drag &amp; Drop Files Here
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  &lt;/div&gt;
  &lt;div id="test2" class="col s12" style="display: none;"&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/section&gt;
  </code></pre>