Traceback (most recent call last):
  File "C:\Python27\1.wedding.py", line 28, in <module>
    driver = webdriver.Firefox()
  File "C:\Python27\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 140, in __init__
    self.service.start()
  File "C:\Python27\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
    os.path.basename(self.path), self.start_error_message)
WebDriverException: Message: 'geckodriver' executable needs to be in PATH. 
            Asked
            
        
        
            Active
            
        
            Viewed 110 times
        
    -3
            
            
         
    
    
        Martijn Pieters
        
- 1,048,767
- 296
- 4,058
- 3,343
 
    
    
        fly fire
        
- 21
- 3
- 
                    7newsflash: "'geckodriver' executable needs to be in PATH." download it and put it in your path. – Jean-François Fabre Jan 18 '17 at 13:23
- 
                    1@flyfire I've rolled back your post. Please learn how to format code within your posts and don't delete relevant information that you've previously provided (namely, the traceback information). – Tagc Jan 18 '17 at 13:41
- 
                    now everything was fine thanks Possible duplicate of Selenium using Python - Geckodriver executable needs to be in PATH – MYG – fly fire Jan 18 '17 at 16:21
1 Answers
1
            
            
        My issue was resolved . i just installed geckodriver.exe from https://github.com/mozilla/geckodriver/releases
 
    
    
        fly fire
        
- 21
- 3