Skip to content

Commit

Permalink
Updating command line for Java remote server in .NET tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Aug 4, 2017
1 parent 12012b1 commit e40ea05
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dotnet/test/common/Environment/RemoteSeleniumServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ public void Start()
}

string currentDirectory = EnvironmentManager.Instance.CurrentDirectory;
string ieDriverExe = System.IO.Path.Combine(currentDirectory, "chromedriver.exe");
string ieDriverExe = System.IO.Path.Combine(currentDirectory, "IEDriverServer.exe");
string chromeDriverExe = System.IO.Path.Combine(currentDirectory, "chromedriver.exe");
string geckoDriverExe = System.IO.Path.Combine(currentDirectory, "geckodriver.exe");
webserverProcess = new Process();
webserverProcess.StartInfo.FileName = "java.exe";
webserverProcess.StartInfo.Arguments = "-Dwebdriver.chrome.driver=" + ieDriverExe + " -jar " + serverJarName + " -port 6000";
webserverProcess.StartInfo.Arguments = "-Dwebdriver.ie.driver=" + ieDriverExe + " -Dwebdriver.gecko.driver=" + geckoDriverExe + " -Dwebdriver.chrome.driver=" + chromeDriverExe + " -jar " + serverJarName + " -port 6000 -enablePassThrough";
webserverProcess.StartInfo.WorkingDirectory = projectRootPath;
webserverProcess.Start();
DateTime timeout = DateTime.Now.Add(TimeSpan.FromSeconds(30));
Expand Down

0 comments on commit e40ea05

Please sign in to comment.