I couldn't find waitForElementPresent() I used waitForElementByElement() instead and added the assertion.