import Component from '../../component.js'

export default class MatMenu extends Component {
    constructor(parent) {
      let selector = 'div[contains(@class,"mat-menu-panel")]';
      super(parent, selector);
    }
    get matMenuContent() {
      let path = '//div[contains(@class,"mat-menu-content")]';
      return this.currentPath + path;
    }
    matMenuButtonById(id) {
      let path = '//button[@data-e2e = "ux-link-e2e-link_' + id + '"]';
      return this.matMenuContent + path;
    }
}
