title: How to load images via file open dialog in TestCafe
body: <p><strong>Background info:</strong></p>
  
  <p>Our application depends on different sets of medical images (due to the medical environment we can't share our code). In each image, a set of test cases is run. Each time we need to manually select a new image, which of course we want to automate. The loading of images is fairly complex, but our devs created a button that covers all that. This <strong>button</strong> opens a <strong>File open dialog</strong>. </p>
  
  <p><strong>My Question:</strong></p>
  
  <p>How can I open a file dialog window and import new images with TestCafe?</p>
  
  <p><strong>We've tried:</strong></p>
  
  <ul>
  <li>t.setFilesToUpload (which not seems to work because it needs a selector where the images get uploaded to?) </li>
  <li>List item clicking the button (it does not open the dialog
  window)</li>
  </ul>