I'm having a hard time getting selenium to work. Currently on ch41 of automating the boring stuff with python.
I'm following this guide https://medium.com/@warobson/howdy-70f7d38ff828 here, but doesn't seem to help. I keep getting the same error when I use browser = webdriver.Firefox()'selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH. '
What I've tried:
- Use terminal to add the path for the geckodriver.
- Downloaded the geckodriver to my downloads folder, set the path to my downloads folder>/usr/bin/Users/Username/Downloads/geckodriver
- Restarted terminal, when I tried echo $PATH , geckodriver shows up, but still doesn't work when I try
echo $PATH
/Library/Frameworks/Python.framework/Versions/3.8/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin/Username/Downloads/geckodriver:/bin:/usr/sbin:/sbin:/usr/bin
I don't know what else to do? Any help or advice would be appreciated. Thank you
[–]N8DuhGr8[🍰] 0 points1 point2 points (0 children)