The webdriver.autodownload property in Serenity BDD is a configuration setting that enables or disables the automatic management of browser driver binaries like chromedriver or geckodriver . Historically, this feature relied on the WebDriverManager library to detect the installed browser version on a machine and download the matching driver. How to Use webdriver.autodownload
By setting this to true , Serenity automatically fetches the required binary for your platform, eliminating the need to manually set webdriver.chrome.driver system properties or hard-code local paths. Evolution in Selenium 4 webdriver.auto download serenity
Using this feature solves several common automation pain points: Unable to download chrome webdriver · Issue #3292 - GitHub The webdriver
# serenity.conf webdriver { driver = chrome autodownload = true } Use code with caution. Evolution in Selenium 4 Using this feature solves
If you are on an older version of Serenity (pre-Selenium 4 integration), keeping webdriver.autodownload = true is necessary to avoid "driver not found" errors. Benefits of Automatic Downloading
You can safely set webdriver.autodownload to false or remove it entirely, as Selenium now handles automatic driver downloads by default.