I am the beginner of the Webdriver.
My script exported from firefox IDE to webdriver is running successfully but the problem I written the very simple script to load the google home page.
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class sample {
public static void main(String[] args) {
WebDriver test = new FirefoxDriver();
test.get("www.google.com");
}
}
What's happening was that the Firefox web-browser is opening but the URL is not sent to the address bar. As a result I am getting an error as shown below:
Error
org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.
Thanks in advance