Firefox crashes when started by Selenium firefox driver

前端 未结 4 426
陌清茗
陌清茗 2020-12-03 13:31

I have call new instance firefox browser by Selenium webdriver

driver = new FirefoxDriver(); 

but there are a error

相关标签:
4条回答
  • 2020-12-03 14:10

    It looks like someone has a bugfix in the pipeline for this as well. https://github.com/SeleniumHQ/selenium/commit/6fc17a0cba238af9d76f5fe6e32f73ac8958c19e

    0 讨论(0)
  • 2020-12-03 14:21

    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 讨论(0)
  • 2020-12-03 14:22

    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.

    0 讨论(0)
  • 2020-12-03 14:25

    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

    0 讨论(0)
提交回复
热议问题