Geckodriver – Missing From Environment Path

Less a blog post and more a note to myself. After installing Geckodriver make sure to add it to the environment.

The error message (or similar): “selenium.common.exceptions.WebDriverException: Message: ‘geckodriver’ executable needs to be in PATH”. Means its not been added to the environment. To add to the environment use the command:

export PATH=$PATH:/path/to/geckodriver