Total Pageviews

Friday 27 June 2014

Selenium WebDriver: org.openqa.selenium.firefox.NotConnectedException

The Problem

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

Solution 1

Download the latest version of Selenium

Tips:

Remember to add it to your build path

Solution 2

Alternatively, downgrade Firefox

Tips:
Mozilla's archive containing old versions of Firefox are for testing purposes, it is not recommended that you use anything but the latest version. Old versions of Firefox may pose a significant security risk.