Created
August 31, 2024 20:03
-
-
Save Shogun89/0275e5c0066e2488c02d5b2840ec1e3d to your computer and use it in GitHub Desktop.
This file contains 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
""" | |
1) python -m venv selenium_test | |
2) /selenium_test/Scripts/activate | |
3) pip install selenium | |
""" | |
from selenium import webdriver | |
driver = webdriver.Chrome() | |
driver.get('https://www.google.com') | |
# Remove this line to see the difference | |
input("Press Enter to close the browser...") | |
driver.quit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment