xpath contains and not contains code example Example: contains text xpath //*[contains(text(),'ABC')]