Skip to content

Instantly share code, notes, and snippets.

@zac11
Created February 3, 2023 05:09
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 zac11/9742dd7e3819eaa91ccf97fb04193362 to your computer and use it in GitHub Desktop.
Save zac11/9742dd7e3819eaa91ccf97fb04193362 to your computer and use it in GitHub Desktop.
from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc)
driver.maximize_window()
driver.get("https://selectorshub.com/xpath-practice-page/")
driver.implicitly_wait(20)
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment