focus() {
    if (!this.isOpened()) {
      return;
    }
    if (!this.searchBar.isVisible()) {
      this.searchBar.show();
    }
    // this.searchBar.focus();
    this.searchBar.webContents.send('focus-input');
  }
/**
   * Focuses mouse on the search bar.
   */
Focuses mouse on the search bar.
Focuses mouse on the search bar .
focus() {
    if (!this.isOpened()) {
      return;
    }
    if (!this.searchBar.isVisible()) {
      this.searchBar.show();
    }
    this.searchBar.webContents.send('focus-input');
  }
focus ( ) { if ( ! this . isOpened ( ) ) { return ; } if ( ! this . searchBar . isVisible ( ) ) { this . searchBar . show ( ) ; } this . searchBar . webContents . send ( 'focus-input' ) ; }
Focuses mouse on the search bar.
Focuses mouse on the search bar .
// this.searchBar.focus();