Chrome Preferences.download.default_directory Serenity !link! May 2026
: If multiple tests download files with the same name, your verification logic might pick up an old file instead of the fresh one.
webdriver { capabilities { browserName = "chrome" "goog:chromeOptions" { args = ["test-type", "no-sandbox", "ignore-certificate-errors", "--window-size=1000,800", "incognito", "disable-infobars", "disable-gpu"] prefs { "download.default_directory" = "${user.dir}/target/downloads" "download.prompt_for_download" = false "download.directory_upgrade" = true "safebrowsing.enabled" = true } } } } Use code with caution. chrome preferences.download.default_directory serenity
21 Oct 2019 — The default download directory for Serenity is: * **chrome_preferences.download.default_directory=System.getProperty("user.dir")** How do I set Chrome download directory with Selenium & VBA : If multiple tests download files with the