Skip to content

Instantly share code, notes, and snippets.

@Jim-Shaddix
Last active March 31, 2022 21:58
Show Gist options
  • Save Jim-Shaddix/3b7c406f8fd4c9406c9bde9dae5e04d8 to your computer and use it in GitHub Desktop.
Save Jim-Shaddix/3b7c406f8fd4c9406c9bde9dae5e04d8 to your computer and use it in GitHub Desktop.
Basic getting started kit for using selenium with python. YEP, it's that easy. [description](https://towardsdatascience.com/how-to-parse-data-using-python-and-selenium-907a95239ee0)
from selenium import webdriver
WEB_DRIVER_PATH = "/opt/homebrew/bin/chromedriver"
driver = webdriver.Chrome(WEB_DRIVER_PATH)
driver.get("https://jshaddix.com")
print(driver.title)
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment