import CoUxButtonGroup from '../../../../components/10x/ux/ux-button-group.js'
import EuiBasePage from '../eui-base.po.js'

export default class ButtonGroupPage extends EuiBasePage {

  constructor() {
      super();
  }
  buttonGroupByIndex(index) {
    let buttonGroup1 =  new CoUxButtonGroup(this.mainContent);
    return buttonGroup1.byIndex(index);
  }
  buttonGroupByTextContains(text) {
    let buttonGroup1 = new CoUxButtonGroup(this.mainContent);
    return buttonGroup1.byTextContains(text);
  }
  buttonGroupByTextEqualsAndIndex(text, index, normalize=true) {
    let buttonGroup1 = new CoUxButtonGroup(this.mainContent);
    return buttonGroup1.byTextEqualsAndIndex(text, index, normalize);
  }
  buttonGroupFromSectionById(id) {
    return new CoUxButtonGroup(this.sectionById(id));
  }
  buttonGroupFromSectionWithIdByIndex(id, index) {
    let buttonGroup1 = new CoUxButtonGroup(this.sectionById(id));
    return buttonGroup1.byIndex(index);
  }
}


