1
votes

I am running the automation test script in selenium Grid with chrome browser and I am getting Chrome not reachable error.

 cucumber.runtime.CucumberException:
 org.openqa.selenium.WebDriverException: 
 chrome not reachable
      (Session info: chrome=68.0.3440.84)
      (Driver info: chromedriver=2.41.578700 (2f1ed5f9343c13f73144538f15c00b370eda6706),platform=Linux 3.10.0-957.1.3.el7.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information)
1

1 Answers

0
votes

I see your platform is Linux. Can you please add below capabilities along with your existing one in case not done already and let us know.

ChromeOptions cOptions = new ChromeOptions();
//argument to switch off suid sandBox and no sandBox in Chrome 
chrome_options.add_argument("--no-sandbox");
chrome_options.add_argument("--disable-setuid-sandbox");