title: Selenium select folder windows dialog
body: <p><img src="https://i.stack.imgur.com/dtc83.gif" alt="enter image description here">]<a href="https://i.stack.imgur.com/dtc83.gif" rel="nofollow noreferrer">1</a></p>
  
  <p>There are many examples on what to do with file upload, however I could not find anything in selecting folder. Any ideas how to handle this ?</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I have tried 3 different ways but none worked :</p>
  
  <ul>
  <li><p>the first is using sendkeys(). This does not work because there is no input field. This dialog opens when you click a button.</p></li>
  <li><p>The second is using AutoIt, which is used in the uploading files dialog. It causes an error when i use it because I am not uploading a file but just selecting a folder.</p></li>
  <li><p>the third is robot, where I copy the path I want to the clipboard and try to paste it with robot. It did not work for me. </p></li>
  </ul>
  
  <p><strong>Update 2:</strong> </p>
  
  <p>If you open chrome://extensions/ on chrome browser and tick developer mode you will see a load unpacked extensions buttons. This is the button that when you click you get this windows dialog:<a href="https://i.stack.imgur.com/svWwt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/svWwt.png" alt="enter image description here"></a></p>