Adding a pause to elementExists