Webdriver exception: “chrome not reachable”

前端 未结 4 539
执念已碎
执念已碎 2020-12-10 06:56

I am running selenium test cases in a ubuntu server which basically runs testcases in both firefox and chrome. Firefox launches and test cases run successfully but chrome th

相关标签:
4条回答
  • 2020-12-10 07:35

    I have encoutered similar problem. I am running my Selenium tests locally and "webdriver exception chrome not reachable" error suddenly showed up.

    The problem was that I already had too much tabs in my regular chrome browser. After getting frustrated I have closed few tabs and suddenly it worked. I am not sure if there is a certain limit of tabs, but if somebody encounters same problem, give it a try.

    0 讨论(0)
  • 2020-12-10 07:37

    Also ensure that PATH environment variable has the path to chromedriver.

    0 讨论(0)
  • 2020-12-10 07:44

    This would be because Chrome is also making use of unix containers in order to run. If you want this to run within docker, pass the docker run command

    --privileged

    Otherwise you can start Chrome with

    --no-sandbox

    0 讨论(0)
  • 2020-12-10 07:48

    Your chrome driver seems to be old. Try downloading latest as of date from below and report back if you get any new errors.

    http://chromedriver.storage.googleapis.com/index.html?path=2.14/

    0 讨论(0)
提交回复
热议问题