Selenium Linux selenium 运行报错:DevToolsActivePort file does not exist

yueyue · February 15, 2022 · 1671 hits

现象
selenium.common.exceptions.webdriverException:Message:unknown error:Chrome failed to start:exited abnormally.unknown error:DevToolsActivePort file does not exist

解决方案
chromeOptions 添加沙箱模式  --no-sandbox

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up