Fixing isTextPresent selenium problem