Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created June 18, 2020 03:41
Show Gist options
  • Select an option

  • Save seleniumgists/6753f75e46c5d50e981b8f3c429140a0 to your computer and use it in GitHub Desktop.

Select an option

Save seleniumgists/6753f75e46c5d50e981b8f3c429140a0 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
info_text = self.driver.find_element_by_xpath("/html/body/div[4]/main/div/div/div[2]/div[1]/div/ul/li[1]/div[2]/span[4]").get_attribute("title")
print(info_text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment