1 import { browser, by, element } from 'protractor'
5 async closeWelcomeModal () {
6 const firstHandle = await browser.getWindowHandle()
8 if (await element(by.css('.configure-instance-button')).isPresent() === false) return
10 await element(by.css('.configure-instance-button')).click()
12 await browser.switchTo().window(firstHandle)