diff --git a/src/e2e/java/teammates/e2e/pageobjects/Browser.java b/src/e2e/java/teammates/e2e/pageobjects/Browser.java index d3ef0713d12..f52f2026ba1 100644 --- a/src/e2e/java/teammates/e2e/pageobjects/Browser.java +++ b/src/e2e/java/teammates/e2e/pageobjects/Browser.java @@ -177,7 +177,7 @@ private WebDriver createWebDriver() { Map chromePrefs = new HashMap<>(); chromePrefs.put("download.default_directory", downloadPath); - chromePrefs.put("profile.default_content_settings.popups", 0); + chromePrefs.put("download.prompt_for_download", false); ChromeOptions options = new ChromeOptions(); options.setExperimentalOption("prefs", chromePrefs); options.addArguments("--allow-file-access-from-files");