I'm struggling to get TFS 2015 to run my selenium specflow tests. The automation is for our production environment so the TFS project doesn't need to deploy the website code, it just needs to run the automation agaist www. (The automation code has the www address coded into it)
I've seen the chrome driver sandbox parameter although that hasn't removed my problem. I've added the following when initializing my chrome driver, shown below
Use of chrome sandbox
var options = new ChromeOptions();
options.AddArguments("–no-sandbox"); // also tried "--no-sandbox"
return new ChromeDriver(options);
TFS Command line build step settings
Tool: packages/NUnit.ConsoleRunner.3.6.1\tools\nunit3-console.exe
Arguments: "../../../My.Automation/bin/Debug/My.Automation.dll" --where "cat=demo
Working folder: $/UAT Automation/Dev/SourceCode
Error experienced on TFS (it works locally on my machine)
I get the same error when I run the command on the server myself.
Unknown error: cannot find chrome driver