Enthält Text XPath
//*[contains(text(),'ABC')]
Shy Sloth
//*[contains(text(),'ABC')]
//tag[text()='sometext']
//button[contains(text(),"Go")]
//div[contains(@id,'test')]
driver.find_elements_by_xpath("//*[contains(text(),'panel')]")
"//h4/a[contains(text(),'SAP M')]"