Can someone advise me on how to set the path for the firefox exe file in Selenium using C#? This is what I thought would help but there is no ctor taking in just the FirefoxBinary:
FirefoxBinary binary = new FirefoxBinary("~/lib/mozilla firefox/firefox.exe");
IWebDriver driver = new FirefoxDriver(binary); //not a valid constructor
public FirefoxDriver(FirefoxBinary binary, FirefoxProfile profile);Click F12 onFirefoxDriverand you can go into the class.FirefoxProfile profile = new FirefoxProfile();Or set null