title: How can i upload some file from local machine?
body: <p>I am using selenium with java script and i can't upload files from local machine. I tried using 'upload.sendKeys(direction from file)', but does not work. When i clicking on the upload button and open a window to select a file from local machine i don't know how i can select a file.</p>
  <pre><code>await findByCss(driver, selectContent).click();
  
  await delay();
  
  var upload = findByCss(driver, selectContent);
  
  upload.sendKeys(&quot;C:/trabajo/Pineapple-lab/para docola/Actualidad_356226259_107392298_1024x576.jpg&quot;); 
  
  await delay();
  </code></pre>