#to add options to selenium, put:
from selenium.webdriver.chrome.options import Options
#at the top of your python file
#to use the options, use this code:
options = Options()
options.add_argument("--headless")
options.add_argument("--log-level NONE")
#to pass the arguments to the driver, use this:
driver = webdriver.Chrome(executable_path="path", options=options)