Skip to content

Instantly share code, notes, and snippets.

@qnicole-zakka
Created March 16, 2021 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qnicole-zakka/c0ab22d1f8b57e6d4695e400bef7f578 to your computer and use it in GitHub Desktop.
Save qnicole-zakka/c0ab22d1f8b57e6d4695e400bef7f578 to your computer and use it in GitHub Desktop.
Set the web driver manually if system path is still not recognized; Application: Bokeh export plots
# web browser and driver option
from selenium.webdriver import Chrome, ChromeOptions
options = ChromeOptions()
options.add_argument('--headless')
web_driver = Chrome(executable_path=r'C:\Windows\chromedriver.exe', options=options)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment