21
votes

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

4

4 Answers

31
votes

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

11
votes

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.

3
votes

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.

0
votes