1from selenium import webdriver
2from selenium.webdriver.chrome.options import Options
3
4options = Options()
5options.headless = True
6driver = webdriver.Chrome(CHROMEDRIVER_PATH, chrome_options=options)
1from selenium import webdriver
2from selenium.webdriver.chrome.options import Options
3
4options = Options()
5options.headless = True
6driver = webdriver.Chrome(CHROMEDRIVER_PATH, options=options)