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

Asked

Viewed 88 times

1

I have a service currently running with Firefox 46 + Selenium 2.53. However 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 beautiful, however 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)
            {}
  • It is probably due to new changes of Firefox quantum, maybe have not implemented, check if you are actually using the latest version of geckodriver (I believe the last is 0.19.1). There was an update on Selenium a few days ago https://github.com/SeleniumHQ/selenium/commit/576feaf5b1e3cbe1dbd27dfa201273454f93f7ea, I don’t know if this is a problem, but it was an update for firefox

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.