from selenium import webdriver
from selenium.webdriver.firefox.options import Options
options = Options()
options.headless = True
options.binary_location = "vendor/firefox/firefox"
driver = webdriver.Firefox(options=options, executable_path="vendor/geckodriver")