Skip to content

Instantly share code, notes, and snippets.

@Shogun89
Created August 31, 2024 20:03
Show Gist options
  • Save Shogun89/0275e5c0066e2488c02d5b2840ec1e3d to your computer and use it in GitHub Desktop.
Save Shogun89/0275e5c0066e2488c02d5b2840ec1e3d to your computer and use it in GitHub Desktop.
"""
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