提问人:Gabriel Martín Quiroga Golini 提问时间:8/11/2023 最后编辑:toyota SupraGabriel Martín Quiroga Golini 更新时间:8/11/2023 访问量:82
自动化错误 - Serenity BDD - 硒 - Java - Chrome - Jenkins
Automation error - serenity bdd - selenium - java - chrome - jenkins
问:
发现此错误
net.thucydides.core.webdriver.DriverConfigurationError:
WebDriver was unable to create a new instance of type class org.openqa.selenium.chrome.ChromeDriver
WebDriver reported the following message: Could not start a new session. Response code 500. Message: unknown error: Chrome failed to start: crashed.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
在尝试了很多东西之后,比如
- 安装 chromedriver 和 google-chrome
- 设置凭据
- 更改文件路径
- 更改谷歌浏览器功能...
添加此功能对我有用:)
“--crash-dumps-dir=/tmp”
答: 暂无答案
评论