how to write xpath using siblings code example Example: contains text xpath //*[contains(text(),'ABC')]