Skip to content

Instantly share code, notes, and snippets.

@zac11
Created February 3, 2023 07:43
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/68edb5ec3e3b16f6dc13da942ded68bc to your computer and use it in GitHub Desktop.
Save zac11/68edb5ec3e3b16f6dc13da942ded68bc to your computer and use it in GitHub Desktop.
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.chrome.service import Service
options = Options()
options.add_argument('--kiosk')
svc=Service(ChromeDriverManager().install())
driver = webdriver.Chrome(service=svc,options=options)
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