syntax


options.headless = True

example


from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.firefox.options import Options

options = Options()
options.headless = True
driver = webdriver.Firefox(executable_path='/path/to/geckodriver', options=options)
driver.get(url)    

Hope this helps!

English today is not an art to be mastered it's just a tool to use to get a result