Add textPresent() method