jsakamoto / nupkg-selenium-webdriver-chromedriver

The NuGet package include Selenium Google Chrome Driver files for Win32, macOS, and Linux.
The Unlicense
141 stars 28 forks source link

DriverServiceNotFoundException with version 83.0.4103.3910 #75

Closed dcdraper closed 3 years ago

dcdraper commented 4 years ago

After updating from 83.0.4103.3900 to 83.0.4103.3910, my SpecFlow/NUnit test project builds fine but running it throws error: Message: OneTimeSetUp: OpenQA.Selenium.DriverServiceNotFoundException : The chromedriver.exe file does not exist in the current directory or in a directory on the PATH environment variable. The driver can be downloaded at http://chromedriver.storage.googleapis.com/index.html.

This happens for several different projects.

Here is a sample project (see the branches with the different versions of webdriver): https://github.com/dcdraper/SampleSpecFLowTroubleshooting.git

jsakamoto commented 4 years ago

Please attach the project files that can reproduce your problem to this thread.

dcdraper commented 4 years ago

I added a link to the original report.

jsakamoto commented 4 years ago

Oh, sorry. I'll investigate it.

jsakamoto commented 4 years ago

@dcdraper

I worked on resolve this issue, and I published v.83.0.4103.3915-beta.

Could you try to use v.83.0.4103.3915-beta?

jpmoura commented 4 years ago

I had a similar issue with version 83.0.4103.3910. I could'nt publish the chromedriver.exe in a .NET Core 3.1 project with Single-File release option using either PublishChromeDriver property or _PUBLISH_CHROMEDRIVER compilation symbol.

After update to version 83.0.4103.3915-beta the issue did not occur.

jsakamoto commented 4 years ago

@jpmoura Thank you for your feedback!

dcdraper commented 4 years ago

@jsakamoto I have tried version v.83.0.4103.3915-beta in my sample project and in a 'real' automation project and so far it is working great. I will report any issues if they arise.

Thank you for fixing this!bitmoji

kshrimali commented 1 year ago

I was facing same problem in chrome browser 107.0.5304.107. I am able to resolve this problem by adding a NuGet package 'Selenium.WebDriver.ChromeDriver' into my current C# project. Make sure the ChromeDriver version must be same as your chrome browser version.