from selenium import webdriver
browser = webdriver.Firefox(executable_path=\"/usr/bin/geckodriver\")
browser.get(\'http://www.ubuntu.com/\')
The e
Please, address geckodriver.exe
rather than geckodriver
like this:
from selenium import webdriver
browser = webdriver.Firefox(executable_path=r"usr/bin/geckodriver.exe")
browser.get('http://www.ubuntu.com/')
You have most probably installed a version of geckodriver that is meant for a different OS/platform! get the correct version from https://github.com/mozilla/geckodriver/releases and replace the one you have.