报错为:

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

推荐文章

评论可见,请评论后查看内容,谢谢!!!评论后请刷新页面。