Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Firefox crashes on test startup, then restarts and runs test just fine. #2297

Closed
peterhendrick opened this issue Jul 1, 2015 · 8 comments
Closed

Comments

@peterhendrick
Copy link

When I run a test with firefox, it will start up, then crash immediately and give me a dialog saying firefox has quit unexpectedly, then immediately after that, it restarts and runs the test. This happens on every firefox test run.

I cannot figure out what the problem is. I'm using protractor 1.8 and in protractor 2.1 it is exists as well.

Immediately after firefox quits, it automatically restarts and runs the test.
screen shot 2015-07-01 at 4 22 25 pm

@sjelin
Copy link
Contributor

sjelin commented Jul 7, 2015

Is that all the information you have? What browser/java/webdriver/OSX versions are you using?

@lcohenwa
Copy link

lcohenwa commented Jul 7, 2015

I am running protractor (2.1.0) on a mac with yosemtie (OSX 10.10.3), and testing an angularJS app, on Firefox (39). I get the same pop up before each test. It doesn't seem to affect whether the tests pass or fail, but it is really annoying. Any suggestions?

@sjelin
Copy link
Contributor

sjelin commented Jul 7, 2015

What are the version numbers?

@WebhookGit
Copy link

Same happens to me , my FF v is 39.0.
firefox #2 failed with exit code: 1

[firefox #2] JavaScript error: file:///var/folders/4f/196sry5x5yv6qlgc4wxdgz080000gp/T/anonymous6460578648666253035webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js, line 11487: TypeError: this.server_ is undefined

[firefox #2] JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]

[firefox #2] JavaScript error: file:///var/folders/4f/196sry5x5yv6qlgc4wxdgz080000gp/T/anonymous6460578648666253035webdriver-profile/extensions/fxdriver@googlecode.com/components/driver-component.js, line 11487: TypeError: this.server_ is undefined

`[firefox #2] JavaScript error: chrome://fxdriver/content/server.js, line 38: NS_ERROR_XPC_CI_RETURNED_FAILURE: Component returned failure code: 0x80570015 (NS_ERROR_XPC_CI_RETURNED_FAILURE) [nsIJSCID.createInstance]```

@peterhendrick
Copy link
Author

Yeah, I'm sorry I posted with so little information. The chrome one is a hard bug to explain. I'll focus on only the firefox one. I edited the original comment to only focus on the firefox issue. Since that one happens every time.

I'm running Java 1.8.0_45, Firefox 39 (this also happened with firefox 38), Selenium 45.0.0, OSX 10.10.4, Protractor 1.8.

Also, this issue is NOT happening on Windows.

@lcohenwa
Copy link

I posed this question, that peterhendrick originally asked, on stack overflow and got an answer. Seems that any firefox version after 37 isn't compatible with Selenium. When I downgraded to 37, no pop up. The stack overflow link is here: http://stackoverflow.com/questions/31322951/why-does-firefox-error-message-pop-up-when-running-protractor-test.

@sjelin sjelin closed this as completed Jul 13, 2015
@sjelin
Copy link
Contributor

sjelin commented Jul 13, 2015

Thanks @LucTheDuke! You're a hero

@aullman
Copy link

aullman commented Aug 18, 2015

Wow, do I really still have to downgrade to Firefox 37 to get things to work? I just downgraded from 40 and things are working but I want to test the latest browsers.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants