I just fixed a problem in our system and decided that I would share or install and solve.
We have a wrapper library on top of Selenium. This shell uses Nuget packages, but the projects that we have for each of our software suites link to our library. In this case, the Chrome driver will not be copied to the output directory and will provide this error.
Each project that links to our wrapper library has a link to a chrome recorder from the output of the wrapper library. Thus, we can support different versions of our library.
Our fix is ββto set copy local to true for chromedriver.exe. The fact is that if you do not have chomedriver.exe, you will create a folder after the assembly, you may get this error.
source share