python - (从 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。但是,它没有用。
解决方案
推荐阅读
- html - 从数组中选择多个选项的简单形式
- java - 如何在 JButton 中撤消按钮透明度
- javascript - 如何使用 JSON 数据制作搜索栏并拥有多个过滤器?
- java - 控制台在线程“main”中显示异常 java.lang.ArrayIndexOutOfBoundsException: 0
- bash - bash 中的间距和换行符
- node.js - 最有效地使用 module.exports 中主文件中的常量。(不和谐.js)
- html - 窗口调整大小时如何阻止元素移动?
- sql - 将所有以前的列合并到当前列
- mongodb - 如何提取 MongoError: E11000 duplicate key found 的错误消息?
- xcode - 为什么我的 Int64 值为零?