My code:
#!/usr/bin/python3
from selenium import webdriver
driver=webdriver.Firefox(executable_path=r'/usr/local/bin/geckodriver')
driver.get('http://www.python.org')
produces the following error:
ERROR : Message: Can not connect to the Service /usr/local/bin/geckodriver
My settings:
- Mozilla Firefox 81.0
- OS => Parrot sec(linux)
- Python 3.8.6
- geckodriver 0.27.0
How can I fix this?