Having issue in working with selenium-java-3.0.0-beta3
Having issue in working with selenium-java-3.0.0-beta3
M
Posted on 06/09/2016
Hi, To resolve "org.openqa.selenium.firefox.NotConnectedException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms" I have downloaded the latest selenium jar (selenium-java-3.0.0-beta3)and using it in my project. I have also downloaded geckodriver-v0.10.0-win64 as suggested and set system property as mentioned in below code
public class Cls1 { public static void main (String args[]){ WebDriver driver; System.setProperty("webdriver.gecko.driver", "F:\\Study Material-Testing\\Selenium\\geckodriver-v0.10.0-win64\\geckodriver.exe"); driver = new FirefoxDriver(); driver.get("https://www.google.co.in/"); }
}
but still I am not able to run the program successfully. I am getting below output in console, and no browser opens as result of this program [color=#FF0000:1y5x5uz0]Sep 06, 2016 11:16:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end[/color:1y5x5uz0]