waitForElementPresent to check the response