我尝试了加载配置文件的推荐方法,但它对我不起作用。它只会打开一个空的配置文件。from selenium.webdriver import Firefoxfrom selenium.webdriver.firefox.serviceimport Service
from selenium.webdriver.firefox.options import
我得到了我的系统(Windows 7 Pro 64位,Python3.5通过Anaconda)设置使用Firefox通过selenium来遵循用Python进行测试驱动的开发一书。Python一直抛出错误WebDriverException: 'geckodriver.exe' executable needs to be in PATH.如果我将python/selenium指向geckodriver.exe的确切位置,则会得到以下错误: