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