Adding adjustable wait time to waitForElement step.