I have set the path in .bashrc as: PATH="/Users/ddd/Downloads/geckodriver:$PATH" export PATH
Still I am unable to run simple script can any1 help me...
Traceback (most recent call last): File "helloselenium.py", line 2, in driver = webdriver.Firefox(executable_path=r'UsersdddDownloadsgeckodriver.exe') File "/Library/Python/2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 144, in init self.service.start() File "/Library/Python/2.7/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: 'UsersdddDownloadsgeckodriver.exe' executable needs to be in PATH.
See Question&Answers more detail:os