org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

后端 未结 7 2451
情歌与酒
情歌与酒 2020-12-18 18:53

I\'m trying to run a Junit Test case which i exported from Selenium IDE. Im getting above exception.I\'m using Windows XP,Firefox 20.0.1,and using selenium-server-standalone

7条回答
  •  醉话见心
    2020-12-18 19:12

    Your version of Selenium is probably not compatible with your version of Firefox. Try installing an older Firefox version.

    1. Before installing and older version, go into Firefox and turn off the automatic update option.

      Firefox --> Options --> Options --> Advanced --> Update --> Check for updates, but let me choose to install them

    2. Go here and install and older version. https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/

      You don't have to uninstall Firefox, just install the version you want to install. You may have to try a few versions until you get the right one.

提交回复
热议问题