为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Cannot run Selenium Firefox WebDriver with Firefox v47 in Eclipse

  • 7 个回答
  • 9 人有此问题
  • 4 次查看
  • 最后回复者为 the-edmeister

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.