geckodriver executable needs to be in path
Question: I have read previous questions asked on this topic and tried to follow the
suggestions but I continue to get errors. On terminal, I ran

    
    
    export PATH=$PATH:/Users/Conger/Documents/geckodriver-0.8.0-OSX
    

I also tried

    
    
        export PATH=$PATH:/Users/Conger/Documents/geckodriver
    

When I run the following Python code

    
    
    from selenium import webdriver
    from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
    from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
    
    
    firefox_capabilities = DesiredCapabilities.FIREFOX
    firefox_capabilities['marionette'] = True
    firefox_capabilities['binary'] = '/Users/Conger/Documents/Firefox.app'
    
    driver = webdriver.Firefox(capabilities=firefox_capabilities)
    

I still get the following error

    
    
    Python - testwebscrap.py:8
    Traceback (most recent call last):
      File "/Users/Conger/Documents/Python/Crash_Course/testwebscrap.py", line 11, in <module>
        driver = webdriver.Firefox(capabilities=firefox_capabilities)
      File "/Users/Conger/miniconda2/lib/python2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 135, in __init__
        self.service.start()
      File "/Users/Conger/miniconda2/lib/python2.7/site-packages/selenium/webdriver/common/service.py", line 71, in start
        os.path.basename(self.path), self.start_error_message)
    selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH. 
    
    Exception AttributeError: "'Service' object has no attribute 'process'" in <bound method Service.__del__ of <selenium.webdriver.firefox.service.Service object at 0x1006df6d0>> ignored
    [Finished in 0.194s]
    


Answer: First we know that gekodriver is the driver engine of Firefox,and we know that
`driver.Firefox()` is used to open Firefox browser, and it will call the
gekodriver engine ,so we need to give the gekodirver a executable permission.
so we download the latest gekodriver uncompress the tar packge ,and put
gekodriver at the `/usr/bin/` ok,that's my answer and i have tested.

