Skip to content

Instantly share code, notes, and snippets.

@jlggross
Last active July 30, 2020 21:25
Show Gist options
  • Save jlggross/28996d1000667006a33733bc8b4f1a6e to your computer and use it in GitHub Desktop.
Save jlggross/28996d1000667006a33733bc8b4f1a6e to your computer and use it in GitHub Desktop.
Creating a driver to access an URL
from selenium import webdriver
driver = webdriver.Chrome()
url = "https://www.btgpactualdigital.com/renda-variavel/venda-descoberta"
driver.get(url)
xpath = "/html/body/app-root/div/app-variable-sale/section/app-variable-assets-list/section/div/div[2]/div/ul/li[1]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment