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
• 11,380 points
2,122 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,500 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 Jun 1, 2018 in Selenium by bits1
• 120 points
10,476 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,910 points
440 views
0 votes
1 answer
0 votes
2 answers

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,500 points
12,617 views
0 votes
2 answers

Problem while using InternetExplorerDriver in Selenium WebDriver

enable trusted connection  in internet explorer by ...READ MORE

answered Aug 31, 2020 in Selenium by Sri
• 3,190 points
8,572 views
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,910 points
6,629 views
0 votes
2 answers

How to use such xpath to find web elements

xpath are two types. 1) Absolute XPath:    /html/b ...READ MORE

answered Sep 3, 2020 in Selenium by Sri
• 3,190 points
7,519 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
• 58,090 points
23,395 views
0 votes
1 answer

Unable to use Selenium IDE & Firebug on Firefox

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

answered Apr 10, 2018 in Selenium by nsv999
• 5,500 points
1,035 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP