搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Cannot run Selenium Firefox WebDriver with Firefox v47 in Eclipse

more options

I am a programmer who is working with the Eclipse IDE. I am currently working on Selenium WebDriver testing on multiple Browsers including Firefox. There is an issue with the current version of Firefox (v47) that does not allow a user to run the Selenium WebDriver: FirefoxDriver. After some research, there were the same issues with this in v44, v37, v36, and v35. Apparently the working version is v33, so I will continue to use this version until it is working on a more updated version.

I wanted to inform mozilla support of this issue in hopes to fix these problems in the future.

I am a programmer who is working with the Eclipse IDE. I am currently working on Selenium WebDriver testing on multiple Browsers including Firefox. There is an issue with the current version of Firefox (v47) that does not allow a user to run the Selenium WebDriver: FirefoxDriver. After some research, there were the same issues with this in v44, v37, v36, and v35. Apparently the working version is v33, so I will continue to use this version until it is working on a more updated version. I wanted to inform mozilla support of this issue in hopes to fix these problems in the future.

所有回覆 (7)

more options

Hello JaoJao, fixed in 47.0.1, is going to be released today.

as philipp said :

users who are already on 47.0 won't receive an automatic update to 47.0.1 unless they manually trigger a search for an update in the about firefox panel. users on prior versions will be auto-updated directly to 47.0.1 though.

thank you

more options

When using FirefoxDriver v47.0.1 I encountered some more problems.

The firefox browser would open to the attached image (first image)

After running the Attached code (second image) with Firefox v47.0.1 (Keep in mind the code works with Firefox v33)

The console gave me some errors, but I cannot copy and paste it due to the character limit of this text box. So I created 3 pages of images for the console output.

more options

I had accidentally posted the first image twice. Sorry about that.

more options

hi, sorry but since support.mozilla.org is geared towards end-user support this might not be the best place for questions about selenium/automation/development. please try the selenium user groups instead for this question: https://groups.google.com/forum/#!forum/selenium-users

more options

The issue though is this works perfectly fine on an earlier version of the Firefox Browser, but doesn't work on the current version, meaning that some change in the way Firefox works broke the way Selenium works.

So it sounds like the errors are coming from the Firefox side of things rather than the Selenium side of things.

more options

Update

Note there is a fix in Fx 47.0.1 you may need to manually update to that. The fix will automatically be on Fx48 which will be out soon.

See ed's /questions/1131816#answer-899406
https://www.mozilla.org/en-US/firefox/47.0.1/releasenotes/ Fixed Selenium WebDriver may cause Firefox to crash at startup The Firefox 47.0.1 soft-release was made to fix a problem particular to Selenium users, where 47.0 was crashing.
more options

John - I think this user has already gotten the Firefox 47.0.1 update, as he mentioned in his posting with the 6 screenshots.


JaoJao - Note that 47.0.1 release was made for a fix for Selenium WebDriver may cause Firefox to crash at startup, not for any other compatibility issues between Firefox and the Selenium WebDriver - just to keep Firefox from crashing on startup.

"pastes" larger that allowed here can be posted to Mozilla Pastebin. http://pastebin.mozilla.org/

But that may not help you here, as philipp mentioned, a selenium support forum would be a better place to ask about that issue. I don't recall anyone around here ever being able to answer a selenium question that was related to Firefox. "We" only know about that 47.0.1 "chem-spill" version as being related to that new release version due to reading in here in this forum or from viewing the 47.0.1 Release Notes, IMO.