Skip to content

Instantly share code, notes, and snippets.

@ashhadulislam
Created August 21, 2020 14:55
Show Gist options
  • Save ashhadulislam/3c2b71245d03c293bde47b81ef68cfde to your computer and use it in GitHub Desktop.
Save ashhadulislam/3c2b71245d03c293bde47b81ef68cfde to your computer and use it in GitHub Desktop.
chrome_options = Options()
# chrome_options.add_argument("--headless")
# above should be uncommented if you are
# running the code in a machine without GUI
chromedriver_loc = 'software/chromedriver'
browser = webdriver.Chrome(executable_path=chromedriver_loc, chrome_options=chrome_options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment