selenium find text node python code example
Example: python selenium find element by text
# Find element by it's visible text
driver.find_element(By.XPATH, "//*[text()'the visible text here...']").click()
# Don't forget to import the following module for this to work
from selenium.webdriver.common.by import By