options = ChromeOptions() options.add_argument("--headless=new") driver = webdriver.Chrome(options=options)