首页 > 解决方案 > (从 Chrome 位置 /opt/Google/Chrome/Google-Chrome 启动的进程不再运行,因此 ChromeDriver 假设 Chrome 已崩溃。)

问题描述

我正在使用 Selenium 并测试它可以做什么。但是,当我按照教程进行操作时,它给了我一个错误(The process started from chrome location /opt/google/chrome/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)。我抬头一看,发现我的 Chrome 不在默认位置。我正在使用 Linux mint 和 Pycharm。我尝试重新安装 Chrome。但是,它没有用。

标签: pythonseleniumselenium-chromedriver

解决方案


推荐阅读