Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firefox crashes when started by Selenium firefox driver

Tags:

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

like image 830
huan.le.app Avatar asked May 27 '15 05:05

huan.le.app


2 Answers

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

like image 155
Jackssn Avatar answered Oct 22 '22 03:10

Jackssn


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.

like image 37
Saifur Avatar answered Oct 22 '22 02:10

Saifur