client.helper.waitForElement instead of above two lines