Hi guys I'm in need of assistance.
So i have the latest version of python and i was able to push pip install selenium. When i run a script it says this message
Traceback (most recent call last):
File "C:\Users\huHMONGous\Desktop\Python 3.6\Scripts\new.py", line 4, in <module>
driver = webdriver.Firefox()
File "C:\Users\huHMONGous\AppData\Local\Programs\Python\Python36-32\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 142, in __init__
self.service.start()
File "C:\Users\huHMONGous\AppData\Local\Programs\Python\Python36-32\lib\site-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.
I have windows 10. I have downloaded geckodriver-v0.18.0-win64zip. I extracted it and copy and paste into both user variable and system variable path and it still won't work. Can anyone please help?? I am using notepad++ and command prompt to run my code
Code i'm trying to run
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("https://www.youtube.com")