Fare9 / WhatsappCrasher

8 stars 9 forks source link

Failed #2

Open firstbon opened 6 years ago

firstbon commented 6 years ago

[+] Opening Browser with web Traceback (most recent call last): File "WhatsappKILLER.py", line 97, in driver = webdriver.Firefox() File "/usr/lib/python2.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 148, in init self.service.start() File "/usr/lib/python2.7/dist-packages/selenium/webdriver/common/service.py", line 81, in start os.path.basename(self.path), self.start_error_message) selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.

Help

Fare9 commented 6 years ago

Download this geckodriver https://github.com/mozilla/geckodriver/releases and then copy to /usr/local/bin or add geckodriver path to PATH variable, or you can add this line:

driver = webdriver.Firefox(executable_path=r'your\path\geckodriver.exe')

You can see this solutions in this question from stack overflow: https://stackoverflow.com/questions/40208051/selenium-using-python-geckodriver-executable-needs-to-be-in-path