Forum Discussion

arunbharath's avatar
arunbharath
Contributor
5 years ago
Solved

org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:

Hi All,

            I'm trying to connect selenium from readyapi, I followed the same steps given in the selenium integration documentation, but I'm getting below error

org.openqa.selenium.WebDriverException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:38669 Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:48' System info: host: 'ITORL464', ip: '192.168.102.6', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_181' Driver info: driver.version: FirefoxDriver error at line: 7

 

I'm new to this, anyhelp is appreticated. 

 

I'm using geckodriver-v0.9.0

               selenium-java-3.14.