selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Firefox has stopped working dialog on driver.quit()

Open AidanMcD opened this issue 9 years ago • 4 comments

Selenium version: 2.44 - geckodriver version 0.13.0 OS: Windows 7 x64 Browser: Internet Explorer Browser version: 9 (v9.0.8112.16421 Update 9.0.34) Language:C#

Expected Behavior -

Driver to quit without any errors.

Actual Behavior -

Firefox has stopped working error appears. image

##Steps to reproduce -

FirefoxOptions foptions = new FirefoxOptions(); foptions.SetPreference("marionette",false); foptions.SetPreference("plugin.state.flash",0); foptions.SetPreference("browser.startup.page", 0); foptions.SetPreference("browser.startup.homepage", "about:blank"); foptions.SetPreference("browser.startup.homepage_override.mstone", "ignore"); RemoteWebDriver _driver = new FirefoxDriver(FirefoxDriverService.CreateDefaultService(), foptions, TimeSpan.FromSeconds(30)); _driver.Navigate().GoToUrl("http://www.Google.com"); _driver.Quit()

AidanMcD avatar Apr 12 '17 08:04 AidanMcD

and if you close that uninformative popup, whats the actual error?

cgoldberg avatar Apr 16 '17 17:04 cgoldberg

What Firefox version?

Can you upgrade Selenium and GeckoDriver to latest versions and try again?

p0deje avatar Apr 17 '17 02:04 p0deje

It's a browser issue, not Selenium one.

You can suppress these error messages as described here: https://www.raymond.cc/blog/disable-program-has-stopped-working-error-dialog-in-windows-server-2008/

barancev avatar Aug 11 '17 14:08 barancev

In case someone still has this issue with Firefox, I landed a change for geckodriver in bug 1388249 which will prevent the crash reporter dialog to popup. It will be shipped with the next geckodriver release.

whimboo avatar Aug 30 '17 20:08 whimboo