from selenium import webdriverbrowser = webdriverFirefox运行这个代码报错:SeleniumManagerException Selenium Manager failed for GpythonAnacondalibsite-packagesseleniumwebdrivercommonwindowsselenium-managerexe -
这个错误提示表明Selenium Manager无法连接到https://github.com/mozilla/geckodriver/releases/latest,这可能是因为网络连接中断或防火墙阻止了连接。建议检查网络连接和防火墙设置,并尝试重新运行代码。如果问题仍然存在,请尝试手动下载geckodriver并指定它的路径。
原文地址: https://www.cveoy.top/t/topic/ejan 著作权归作者所有。请勿转载和采集!