xpath find element by text code example Example: xpath element that contains text "//h4/a[contains(text(),'SAP M')]"