This is for waitForElements which is defined after the comment. I'll align it and make it more readable.