Verification test for waitForElement