async waitUntilClose() {
        await browser.pause(1000);
        await browser.waitUntil(async () => !(await $(this.rootElement).isExisting()));
    }
Wait until the close transition has finished.
@method