我正在尝试使用Selenium打开本地文件。使用下面的代码,火狐正在打开,但我有错误org.openqa.selenium.WebDriverException: Timed out waiting 45 seconds for FirefoxFile gecko = new File("resources/geckodriver64.exe");
System.setProperty("webdriver.gecko.driver"
我得到了我的系统(Windows 7 Pro 64位,Python3.5通过Anaconda)设置使用Firefox通过selenium来遵循用Python进行测试驱动的开发一书。Python一直抛出错误WebDriverException: 'geckodriver.exe' executable needs to be in PATH.,尽管我已经将系统路径设置为指向geckodriver的文件夹(并重新启动了