code: private String getBaseTabPanelPath() {
          String selector = getPathBuilder().getBasePath();
          WebLocator el = new WebLocator().setText(getPathBuilder().getText(), SearchType.EQUALS);
          el.setSearchTextType(getPathBuilder().getSearchTextType().stream().toArray(SearchType[]::new));
          selector += (selector.length() > 0 ? " and " : "") + "not(contains(@class, 'x-masked')) and count(*[contains(@class,'x-tab-panel-header')]//*[contains(@class, 'x-tab-strip-active')]" + el.getXPath() + ") > 0";
          return "//*[" + selector + "]";
      }
docs: this method return the path of the main TabPanel (that contains also this Tab/Panel)
  
  @return the path of the main TabPanel