我得到了我的系统(Windows 7 Pro 64位,Python3.5通过Anaconda)设置使用Firefox通过selenium来遵循用Python进行测试驱动的开发一书。Python一直抛出错误WebDriverException: 'geckodriver.exe' executable needs to be in PATH.,尽管我已经将系统路径设置为指向
摘要: Geckodriver似乎没有被识别,尽管它在系统路径中被精确设置
操作系统: Windows 10;版本: 1909;OS构建: 18363.752;系统类型:64位OS\Python38\Scripts\;C:\Users\PCUserName\AppData\Local\Programs\Python\Python38\;%IntelliJ IDEA CommunityAutomat
from selenium import webdriver;browser.get('http://www.seleniumhq.org');Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary f