What's the difference between this implementation and `waitForElement`? I was wondering any rationale of making the change?