Python chromedriver WebDriverException:参数无效

时间:2019-11-08 20:51:03

标签: python selenium google-chrome webdriver selenium-chromedriver

我刚刚将chromedriver从https://chromedriver.chromium.org/downloads(ChromeDriver 79.0.3945.16)更新为最新版本,并且当我尝试启动webdriver时:

from selenium import webdriver
driver = webdriver.Chrome(r'path/to/file')

我收到错误消息:

selenium.common.exceptions.WebDriverException: Message: invalid argument: 'firstMatch' must contain at least one entry

这是什么意思?我也尝试了其他几个版本,但出现了相同的错误。我不知道我以前使用的是哪个版本,但可能是1年或更旧的版本,并且没有抛出该异常。

我正在使用python 3.5.1

0 个答案:

没有答案