newTab() {
    log.debug('[RemoteApi] Creating new tab');
    return this.getActiveWindow()
    .then((win) => {
      win.webContents.send('request-action', 'new-tab');
    });
  }
/**
   * Opens a new tab currently focused window or first window of the list of
   * opened windows, or creates a new window if can't determine current window.
   *
   * @return {Promise} Promise resolved when command was sent to window
   */
Opens a new tab currently focused window or first window of the list of
opened windows, or creates a new window if can't determine current window.

@return {Promise} Promise resolved when command was sent to window
Opens a new tab currently focused window or first window of the list of opened windows or creates a new window if can ' t determine current window . @return { Promise } Promise resolved when command was sent to window
newTab() {
    log.debug('[RemoteApi] Creating new tab');
    return this.getActiveWindow()
    .then((win) => {
      win.webContents.send('request-action', 'new-tab');
    });
  }
newTab ( ) { log . debug ( '[RemoteApi] Creating new tab' ) ; return this . getActiveWindow ( ) . then ( ( win ) => { win . webContents . send ( 'request-action' , 'new-tab' ) ; } ) ; }
Opens a new tab currently focused window or first window of the list of
 opened windows, or creates a new window if can't determine current window.
Opens a new tab currently focused window or first window of the list of opened windows or creates a new window if can ' t determine current window .