Fixed waitUntil method: it should not fail for stolen (disappeared) elements