This code means that as soon as you fail once, you will never call ``$driver-store()`` anymore. So you could return early in the loop instead of continuing to loop until the end.