21

I have call new instance firefox browser by Selenium webdriver

driver = new FirefoxDriver(); 

but there are a error

Problem Event Name: APPCRASH
Application Name: firefox.exe Application Version: 38.0.1.5611
Application Timestamp: 55540a1a Fault Module Name: xul.dll Fault Module Version: 38.0.1.5611 Fault Module Timestamp: 55541969 Exception Code: c0000005 Exception Offset: 0035669b OS Version: 6.1.7600.2.0.0.256.48 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt

I must click close programme to continue and firefox browser is diplayed

Firefox 38 Selenium 2.45 windown 7 x64 or windown 8 x64

Thanks

7wp
  • 12,505
  • 20
  • 77
  • 103
huan.le.app
  • 249
  • 1
  • 2
  • 7
  • Possible duplicate of [Firefox crash when I run selenium unit test](http://stackoverflow.com/questions/30456204/firefox-crash-when-i-run-selenium-unit-test) – Greg Burghardt Jun 10 '16 at 18:32

4 Answers4

31

I've same problem on Firefor 47.0 (stub). Reinstalling doesn't solve problem.

Update to 47.0.1 or download Firefox 45.0 and selenium will work

msprates
  • 3
  • 1
Jackssn
  • 1,346
  • 1
  • 14
  • 16
  • thanks. upgrading from FF 47.0 to 47.0.1 worked for me – Tom Jul 18 '16 at 22:54
  • Works for me for an hour until IT upgrades firefox for me... Is there any way to catch this error or do you just have to live with random crashes? – Seth Sep 09 '16 at 21:38
11

Seems like a compatibility issue to me. Firefox 38 is not officially supported by Selenium 2.45.

Downgrade to 35 or lower from here. You can also find the Selenium changelog here. See another answer here.

Community
  • 1
  • 1
Saifur
  • 16,081
  • 6
  • 49
  • 73
  • 1
    Where can you find which Firefox versions are supported by which Selenium version? I can't seem to locate that information. – rrhartjr Jul 24 '15 at 17:39
  • Updated the changelog link. And individual language bindings see [this](http://www.seleniumhq.org/download/) – Saifur Jul 24 '15 at 19:45
  • I got this issue today and downgraded from 47 to 44 and now is working fine. – territorial Jun 15 '16 at 01:57
  • Is there any way to catch this error or do you just have to live with random crashes? – Seth Sep 09 '16 at 21:37
3

Even I was facing the same issue, its related to compatibility issue,I just downloaded latest version of webdriver(i.e Selenium-java-2.46.0) and firefox v 38.0.5, jdk(1.8_31) n it worked.

Ajit Gouda
  • 31
  • 1
0

It looks like someone has a bugfix in the pipeline for this as well. https://github.com/SeleniumHQ/selenium/commit/6fc17a0cba238af9d76f5fe6e32f73ac8958c19e

Locriansax
  • 133
  • 8