import EuiBasePage from '../eui-base.po.js'
import CoUxDynamicPopover from '../../../../components/10x/ux/ux-dynamic-popover.js'

export default class DynamicPopoverPage extends EuiBasePage {
  constructor() {
      super();
  }
  popoverByIndex(index) {
    let popover1 =  new CoUxDynamicPopover('//body');
    return popover1.byIndex(index);
  }
  popoverByTextContains(text) {
    let popover1 = new CoUxDynamicPopover('//body');
    return popover1.byTextContains(text);
  }
  popoverByTextEqualsAndIndex(text, index, normalize=true) {
    let popover1 = new CoUxDynamicPopover('//body');
    return popover1.byTextEqualsAndIndex(text, index, normalize);
  }
}


