
报错为:
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for firefox using Selenium Manager.; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
个人解决办法:
重新下载selenium-manager.exe并替换原文件即可
selenium-manager.exe下载地址:
https://github.com/SeleniumHQ/selenium/tree/trunk/common/manager/windows
selenium-manager.exe位置:
你的python文件夹\Lib\site-packages\selenium\webdriver\common\windows
文章讲述了在使用Selenium时遇到NoSuchDriverException的问题,推荐方法是下载新的selenium-manager.exe文件并替换原有版本。链接提供了下载地址和文件在Python安装路径中的位置。

1091

被折叠的 条评论
为什么被折叠?



