We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5599a commit 04e140eCopy full SHA for 04e140e
src/test/java/uk/co/evoco/webdriver/utils/ChromeDriverPreferenceTests.java
@@ -31,7 +31,7 @@ public void testChromeBrowserPreferencesApplied() throws Exception {
31
webDriver.get(baseUrl);
32
String expectedFile = new File("run-generated-files/chrome/downloads").getCanonicalPath() + "/sampleFile.pdf";
33
webDriver.findElement(By.xpath("//a[text()='clickHereToDownLoadAFile']")).click();
34
- Thread.sleep(2000);//need to wait until file download
+ Thread.sleep(5000);//need to wait until file download
35
assertThat(new File(expectedFile).exists(), is(true));
36
}
37
0 commit comments