DialogTestUtils.waitForFocusedInput(driver_, importFileDialog);
Actions typeName = new Actions(driver_);
File csvFile = new File("test/org/rstudio/studio/selenium/resources/banklist.csv");
typeName.sendKeys(csvFile.getAbsolutePath());
typeName.perform();
DialogTestUtils.respondToModalDialog(driver_, "Open");
// After a moment the modal prompting for the path will disappear, and
// the modal prompting for input will appear.