how to put and condition in contains function in selenium java code example Example: contains text xpath //*[contains(text(),'ABC')]