Search code examples
webdriver-managerwebdrivermanager-java

Specify download location in webdrivermanager java


How can i specify the download location of the chromedriver in webdrivermanager? Im using Java.

At the moment its downloading to ~\cache\selenium\chromedriver\

im using webdrivermanger version 5.0.3


Solution

  • See wd.cachePath property described in the documentation: https://bonigarcia.dev/webdrivermanager/#advanced-configuration