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.
-
7newsflash: "'geckodriver' executable needs to be in PATH." download it and put it in your path.Jean-François Fabre– Jean-François Fabre ♦2017-01-18 13:23:28 +00:00Commented 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).Tagc– Tagc2017-01-18 13:41:02 +00:00Commented Jan 18, 2017 at 13:41
-
now everything was fine thanks Possible duplicate of Selenium using Python - Geckodriver executable needs to be in PATH – MYGfly fire– fly fire2017-01-18 16:21:08 +00:00Commented Jan 18, 2017 at 16:21
Add a comment
|
1 Answer
My issue was resolved . i just installed geckodriver.exe from https://github.com/mozilla/geckodriver/releases