Struggling a bit trying to figure out what's going on with my XPath syntax here. Trying to locate an element to click based on the text of the parent.
I want to rotate through
element = WebDriver.find_elements_by_xpath("//tr[contains(text(), 'This Text')]/td[@class='cell-to-click']")
//tr[contains(., 'This Text')]/td[@class='cell-to-click'] instead.
tr elements usually don't have text nodes as children.