About this question
My script is not running even by using selenium 2.53.1 and firefox 47.0.1. Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. is the error returned.
The script that was tried is,
package SystemPackTest;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class TestClass {
public static void main(String[] args) {
WebDriver driver ;
System.setProperty("webdriver.gecko.driver", ""); driver = new FirefoxDriver();
driver.get("google.com");
System.out.println("Successfully opened the website");
//driver.close();
}
}
How to fix the error, Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms?