add documentation for waitForElementExist