title: How to open a new tab or window when using CodeceptJS
body: <p>I am trying to create a test with CodeceptJS (using WebdriverIO helper) in which I first log in on site A and then open a new window(or tab) and log in on site B. By doing the second 'I.amOnPage() it just reuses the same browser window, but I want to open a separate window/tab and leave the site A active. Is this possible?</p>
  
  <p>Update: I managed to open a new tab via I.executeScript("window.open();") however I am not managing to switch focus to the new tab via the switchTab() method from the WebDriverIO helper, since the following I.amOnPage() is directed to the previous tab rather than the newly opened one.</p>