With Chrome you can add options when creating the driver. You just do
options = Options() options.headless = True driver = webdriver.Chrome(PATH\\TO\\DRIVER,