-3
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. 
3
  • 7
    newsflash: "'geckodriver' executable needs to be in PATH." download it and put it in your path. Commented Jan 18, 2017 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). Commented Jan 18, 2017 at 13:41
  • now everything was fine thanks Possible duplicate of Selenium using Python - Geckodriver executable needs to be in PATH – MYG Commented Jan 18, 2017 at 16:21

1 Answer 1

1

My issue was resolved . i just installed geckodriver.exe from https://github.com/mozilla/geckodriver/releases

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.