I still didn´t find any way to setting up FireFox driver or IE driver. For using Chrome driver, you will just easily write:
ChromeDriver driverGC = new ChromeDriver(@"Chrome driver directory");
ChromeDriver driverGC = new ChromeDriver(@"C:\");and you can work with GC.
But for setting up FF driver I tried to use:
FirefoxDriver driverFF = new `FirefoxDriver(FirefoxDriverService.CreateDefaultService(@"directory of gecko driver"));` FirefoxDriver driverFF = new FirefoxDriver(FirefoxDriverService.CreateDefaultService(@"c:\firefox"));
But the problem here is that will just open FF and immediately close without any other action. There was a second way to use FF driver, but it wanted to navigate to Profile driver directory, but what they means with profile ?
For IE driver, I tried to use old way similar to GC, but it does´t work.
InternetExplorerDriver driverIE = new InternetExplorerDriver(@"C:\Program Files (x86)\Microsoft Web Driver");
Is there someone who can show me how to write the code or on which .exe navigates it?
I found helpers just for JAVA, but I need to use it in C#. Thanks for any kind of help.