Chromedriver已停止工作并显示驱动程序信息:chromedriver = 81.0.4044.69,即使我安装了81.0.4044.138

问题描述 投票:0回答:1
 Ignoring uncaught error SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 81
 (Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Mac OS X 10.15.4 x86_64)

node_modules/protractor/node_modules/webdriver-manager/selenium/内部,我有:

-rw-r--r--   1 account1  staff     94690  5 May 23:12 chrome-response.xml
-rwxr-xr-x   1 account1  staff  14786468 15 Mar 05:40 chromedriver_81.0.4044.138
-rw-r--r--   1 account1  staff   7019279  5 May 23:12 chromedriver_81.0.4044.138.zip
-rw-r--r--   1 account1  staff    397989  5 May 23:12 gecko-response.json
-rwxr-xr-x   1 account1  staff   5259056 10 Oct  2019 geckodriver-v0.26.0
-rw-r--r--   1 account1  staff   2006880  5 May 23:12 geckodriver-v0.26.0.tar.gz
-rw-r--r--   1 account1  staff       566  5 May 23:12 update-config.json

我已安装[81.0.4044.138版,正如我在chrome://settings/help中看到的]

我不知道它从哪里得到81.0.4044.69 ...

protractor selenium-chromedriver webdriver-manager
1个回答
0
投票

我重新安装了chrome并成功了

© www.soinside.com 2019 - 2024. All rights reserved.