Selenium: WebDriverException:Chrome failed to start: crashed as google-chrome is no longer running so ChromeDriver is assuming that Chrome has crashed

后端 未结 14 1998
走了就别回头了
走了就别回头了 2020-11-21 23:05

Recently I switched computers and since then I can\'t launch chrome with selenium. I\'ve also tried Firefox but the browser instance just doesn\'t launch.

f         


        
14条回答
  •  日久生厌
    2020-11-21 23:27

    Make sure that both the chromedriver and google-chrome executable have execute permissions

    sudo chmod -x "/usr/bin/chromedriver"
    
    sudo chmod -x "/usr/bin/google-chrome"
    

提交回复
热议问题