Search This Blog

March 17, 2016

Fixed the issue in Selenium: An exception of type OpenQA.Selenium.WebDriverException occurred in WebDriver.dll but was not handled in user code

I am currently working on a new project where I need to write Selenium with C# to do the web automation in Visual Studio 2015.

Today after I rebooted my machine, I noticed that Firefox was removed. Therefore, I installed the new version of Firefox (45.0). After that, when running the tests, it caused the following Firefox Driver error, but it was working yesterday. 




I asked my test lead and he noticed that I installed the new version, but we still need to use Firefox 44.02.  After uninstalling Firefox 45.0 and installing Firefox 44.02, running the tests in Selenium passed.

No comments: