1

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

Zordanian
  • 43
  • 1
  • 8

2 Answers2

1

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

1

WebDriverManager.globalConfig().setCachePath("Path");

  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Feb 28 '22 at 16:08
  • This has already been mentioned in other answer. When answering older questions that already have answers, please make sure you provide either a novel solution or a significantly better explanation than existing answers – Abhishek Dutt Mar 06 '22 at 04:24