简体   繁体   中英

Webdriver: Firefox driver doesn't work anymore

I created webdriver project with maven. Everything was fine, but one day my tests throw an exception while they running in Firefox. My Firefox version is 11 at this moment.

In my pom file i tried to change versions, but tests still don't work: -Error communicating with the remote browser. It may have died. Or -Cannot perform native interaction: Could not load native events component.

Please, help with this issue.

I would recommend using Firefox 3.6, 9 or 10, because WebDrivers 2.19.0 and 2.20.0 (today's version) are not yet compatible with Firefox 11.

The official changelog says that version 2.19.0 enables native events in FF10. Also, the version 2.15.0 announces support for FF up to and including FF11. Seems that something got wrong there :). Downgrade to FF10 or similar and you should be good.

我升级到Selenium WebDriver 2.25.0,我的测试又恢复了。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM