Linux 在本地运行没有问题,放在 linux 环境就报错无法启动 chrome

testjson · 2022年09月21日 · 最后由 testjson 回复于 2022年09月21日 · 6593 次阅读


E selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
E (unknown error: DevToolsActivePort file doesn't exist)
E (The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

共收到 4 条回复 时间 点赞

有说是我 linux 下浏览器驱动和浏览器版本不一致导致的,但是我查了大版本是一致的

僅樓主可見
yueyue 回复

好的,我试试

yueyue 回复

好了,解决了,太感谢了

需要 登录 後方可回應,如果你還沒有帳號按這裡 注册