Unable to connect to chromedriver 127.0.0.1:9515 on Amazon Linux AMI server

0 votes

While setting up my Selenium WebDriver tests with Linux & automating them with CRON Jobs, I am receiving the below error:

Selenium::WebDriver::Error::WebDriverError:
   unable to connect to chromedriver 127.0.0.1:9515

which chromedriver returns:

/usr/bin/chromedriver

and which google-chrome-stable returns:

/usr/bin/google-chrome-stable

I thought that the error was related to not having Chrome installed yet, so I did that, but has not seemed to fix my issue.
Is there any work around?

Mar 26, 2018 in Selenium by nitinrawat895
• 10,670 points
542 views

1 answer to this question.

0 votes

The issue seems to be only with the ChromeDriver (possibly /usr/bin).

ldd /usr/bin/chromedriver

Also check your dependencies. You maybe missing some.

answered Mar 26, 2018 by nsv999
• 5,090 points

Related Questions In Selenium

+1 vote
1 answer

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms.

This issue generally happens due to incompatibility ...READ MORE

answered May 31, 2018 in Selenium by bits1
• 120 points
2,989 views
0 votes
1 answer

Fail to connect to internet : Firefox 53 launched with gecko 0.16.1

Below code will help you: FirefoxProfile profile = ...READ MORE

answered Jul 25, 2018 in Selenium by Samarpit
• 5,130 points
80 views
0 votes
1 answer
0 votes
1 answer

Finding WebDriver element with Class Name in java

The better way to handle this element ...READ MORE

answered Apr 10, 2018 in Selenium by nsv999
• 5,090 points
592 views
0 votes
1 answer
0 votes
1 answer

Geo-location microphone camera pop up

To Allow or Block the notification, access using Selenium and you have to ...READ MORE

answered May 11, 2018 in Selenium by Samarpit
• 5,130 points
901 views
0 votes
1 answer

How to use such xpath to find web elements

It's much simpler to use: #MyDiv123 > div.super or ...READ MORE

answered Jun 14, 2018 in Selenium by Samarpit
• 5,130 points
578 views
0 votes
2 answers

Unable to Click on an Element in Selenium (Python) even after finding it.

Here, I give you working script which ...READ MORE

answered Sep 19, 2018 in Selenium by Priyaj
• 56,520 points
7,430 views
0 votes
1 answer

Unable to use Selenium IDE & Firebug on Firefox

Unfortunately, Selenium IDE will not work anymore ...READ MORE

answered Apr 9, 2018 in Selenium by nsv999
• 5,090 points
87 views