I use selenium by this for web scraping:
from selenium import webdriver
path_to_chromedriver = '/usr/lib/chromium-browser/chromedriver'
browser = webdriver.Chrome(executable_path=path_to_chromedriver)
browser.get(url)
element = browser.find_element_by_id('email')
Now I have a website with generates a lot of nested tables and seems to assign ids automatically (and probably not every time the same). One thing that is reliable is that the table I'm interested in has a cell
<td>My Content</td>
Is there something like the following?
browser.find_element_by_text("<td>", text="My Content")