add waitForElement