Last active
March 31, 2022 21:58
-
-
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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