Selenium 3.8 + Firefox 56/57 does not run in Background

1

I have a service currently running with Firefox 46+ Selenium 2.53. But I need to update it and I'm trying to use Firefox 56 or 57 with Selenium 3.8. When I run on my machine the service runs nice, but when I run it as windows service, it does not work and I take this error "Process unexpectedly closed with status: 0"

            FirefoxProfile profile = new FirefoxProfile();
            profile.SetPreference("dom.ipc.plugins.enabled", false);
            profile.SetPreference("webdriver.gecko.driver", "C:\Services\RoboLEDBBService\geckodriver.exe");

            FirefoxOptions options = new FirefoxOptions();
            options.Profile = profile;

            try
            {

                driver = new FirefoxDriver(options);

            }
            catch (Exception error)
            {}
    
asked by anonymous 12.12.2017 / 13:13

0 answers