waitForElements added