how to get xpath in chrome parent child relation code example Example: contains text xpath //*[contains(text(),'ABC')]