I am trying to configure selenium tests in nCrunch, which outputs the tests to my own temp folder.
I get the following error when creating a driver ( new PhantomJSDriver() ):
OpenQA.Selenium.DriverServiceNotFoundException: PhantomJS.exe does not exist in the current directory or in the directory in the PATH environment variable.
However, I checked and PhantomJS.exe exists in the current directory (\ bin \ debug).
Then I tried to use new PhantomJSDriver(".\\") , which should be the current directory and which works.
What is the "current directory" of Selenium referencing this post?
c # selenium phantomjs ncrunch
Luke mcgregor
source share