return exception if text not found on the page