How do you close a tab in WebdriverIO?
WebDriver.io’s browser.closewindow() method closes the current browser window and all of its tabs.