options = webdriver.FirefoxOptions() options.binary_location = r'C:\Program Files\Mozilla Firefox\firefox.exe'
c# - 'Cannot start the driver service on http://localhost:60681/' options = webdriver
Without this service, Selenium cannot talk to Firefox. options = webdriver
def test_firefox(): driver = webdriver.Firefox(executable_path="/usr/local/bin/geckodriver") driver.get("http://localhost") driver.quit() options = webdriver