Unable to run a selenium code for google search.

0 votes
I am getting the following error:-

org.openqa.selenium.WebDriverException: chrome not reachable

Can someone help me with this? I am new in selenium and unable to figure out why I am getting this error?
Dec 27, 2018 in Selenium by Sradha
• 1,710 points
37 views

1 answer to this question.

0 votes
The error that you are getting is because either your chrome driver is not working or the chrome driver is getting closed abruptly.

You need to check for the latest version of Chrome driver. You can also check that whether you are closing it in between your code.

These could be the probable reason for getting this error.

Hope it helps.
answered Dec 27, 2018 by Anshu

Related Questions In Selenium

+2 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is it possible for a website to detect that we are using Selenium with ChromeDriver

Selenium tests for pre-defined javascript variables which ...READ MORE

answered Apr 27, 2018 in Selenium by Meci Matt
• 9,400 points
1,924 views
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,050 points
259 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
628 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
256 views
0 votes
1 answer