VID-1723 Refresh page only until element appears