获取 "chrome error communicating with the remote browser. it may have died"
Getting "chrome error communicating with the remote browser. it may have died"
使用 Selenium Webdriver (Junit) 在 chrome 浏览器中自动化一个场景,如下所示:
单击“付款”按钮。
等待 20 秒
检索订单号(使用 GetText())
等待后,出现以下错误:
chrome error communicating with the remote browser. it may have died
我已通过更新 chrome 驱动程序解决了同样的问题。根据您的浏览器版本下载最新版本的 chrome 驱动程序尝试。
我遇到这个问题大约 20 天,最后通过更新最新的 Selenium 版本解决了。这意味着我们必须使用兼容的 Chromedriver 和 Selenium 版本。如果你使用最新的 Chromedriver 和旧的 Selenium 版本,它会给出这个问题“- Error communication with the remote browser. it may have died”
使用 Selenium Webdriver (Junit) 在 chrome 浏览器中自动化一个场景,如下所示:
单击“付款”按钮。
等待 20 秒
检索订单号(使用 GetText())
等待后,出现以下错误:
chrome error communicating with the remote browser. it may have died
我已通过更新 chrome 驱动程序解决了同样的问题。根据您的浏览器版本下载最新版本的 chrome 驱动程序尝试。
我遇到这个问题大约 20 天,最后通过更新最新的 Selenium 版本解决了。这意味着我们必须使用兼容的 Chromedriver 和 Selenium 版本。如果你使用最新的 Chromedriver 和旧的 Selenium 版本,它会给出这个问题“- Error communication with the remote browser. it may have died”