wtorek, 19 lutego 2019

[QUICK TIP] SpecFlow/Visual Studio: how to handle with error "The geckodriver.exe file does not exist in the current directory or in a directory on the PATH environment variable"

At the start of work with SpecFlow framework in Visual Studio, you might get error like above, while running first test, which needs to initialise browser.

After adding driver .exe file to your testing project (for example chromedriver.exe, geckodriver.exe), in Visual Studio it is needed to change properties of .exe file.

Simply change "Copy to Output Directory" to "Copy always".



Brak komentarzy:

Prześlij komentarz