weskerfoot / DeleteFB

Automate Scrubbing your Facebook Presence
MIT License
2.68k stars 178 forks source link

WebDriverException not defined #139

Closed thomascrha closed 4 years ago

thomascrha commented 4 years ago

I didn't have chromedriver installed initially - it caused a secondary exception.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/tcrha/.local/bin/deletefb", line 8, in <module>
    sys.exit(run_delete())
  File "/home/tcrha/.local/lib/python3.8/site-packages/deletefb/deletefb.py", line 112, in run_delete
    driver = login(
  File "/home/tcrha/.local/lib/python3.8/site-packages/deletefb/tools/login.py", line 44, in login
    driver = setup_selenium(chrome_options, chrome_binary_path)
  File "/home/tcrha/.local/lib/python3.8/site-packages/deletefb/tools/chrome_driver.py", line 66, in setup_selenium
    except WebDriverException:
NameError: name 'WebDriverException' is not defined
weskerfoot commented 4 years ago

looks good to me, thanks!

weskerfoot commented 4 years ago

released https://pypi.org/project/delete-facebook-posts/1.1.17/ to fix this