from selenium import webdriver | |
from selenium.webdriver.chrome.options import Options | |
# other imports here | |
options = Options() | |
options.headless = True | |
driver = webdriver.Chrome(CHROMEDRIVER_PATH, chrome_options=options) | |
driver.get("https://www.reddit.com/") | |
# more code here |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment