Auto refresh until a specific text is found.