retry a few times in case an element is not visible