Skip to content

Instantly share code, notes, and snippets.

@saasindustries
Last active January 12, 2021 14:27
Show Gist options
  • Save saasindustries/b9838ddec099114d627af6eb4d04af55 to your computer and use it in GitHub Desktop.
Save saasindustries/b9838ddec099114d627af6eb4d04af55 to your computer and use it in GitHub Desktop.
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