I've been reading through all the answers to this problem, but I still can't solve it.
I downloaded and extracted geckodriver.exe to "C:\rtemp". I'm using windows, so I've added "C:\rtemp\geckodriver.exe" to the Path.
When I try to run:
ff_caps = DesiredCapabilities.FIREFOX
ff_caps['marionette'] = True
driver = webdriver.Firefox(capabilities=ff_caps)
I still get an error saying:
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
Is there something else that I'm missing?