Selenium - 驱动程序版本:未知

时间:2021-03-05 01:32:02

标签: selenium google-chrome selenium-webdriver

我正在尝试使用 Selenium 运行自动化测试,它们失败并抛出错误 Error: Error while running testForAngular: script timeout. Driver info: driver.version: unknown Chrome 和 chrome 驱动程序都更新到最新的 89。我不确定是什么导致了这个错误。

这是堆栈跟踪

[chrome #01-1] Failures:
[chrome #01-1] 1) should be able to run
[chrome #01-1]   Message:
[chrome #01-1]     Failed: Error while running testForAngular: script timeout
[chrome #01-1]       (Session info: headless chrome=89.0.4389.72)
[chrome #01-1]     Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
[chrome #01-1]     System info: host: 'ABC123', ip: 'xxxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.9'
[chrome #01-1]     Driver info: driver.version: unknown
[chrome #01-1]   Stack:
[chrome #01-1]     Error: Error while running testForAngular: script timeout
[chrome #01-1]       (Session info: headless chrome=89.0.4389.72)
[chrome #01-1]     Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
[chrome #01-1]     System info: host: 'ABC123', ip: 'xxxx', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '11.0.9'
[chrome #01-1]     Driver info: driver.version: unknown
[chrome #01-1]         at C:\Users\abc\Desktop\data\data\node_modules\protractor\built\browser.js:725:23
[chrome #01-1]         at ManagedPromise.invokeCallback_ (C:\Users\abc\Desktop\data\data\node_modules\selenium-webdriver\lib\promise.js:1376:14)

0 个答案:

没有答案