Cannot Start The Driver Service On Http Localhost Selenium Firefox: C

from selenium import webdriver

test_firefox()

def test_firefox(): driver = webdriver.Firefox(executable_path="/usr/local/bin/geckodriver") driver.get("http://localhost") driver.quit()