import CoUxAtag from '../../../../components/10x/ux/ux-a-tag.js'
import EuiBasePage from '../eui-base.po.js'

export default class AtagPage extends EuiBasePage {

  constructor() {
      super();
  }
  tagByIndex(index) {
    let tag1 =  new CoUxAtag(this.mainContent);
    return tag1.byIndex(index);
  }
  tagByTextContains(text) {
    let tag1 = new CoUxAtag(this.mainContent);
    return tag1.byTextContains(text);
  }
  tagByTextEqualsAndIndex(text, index, normalize=true) {
    let tag1 = new CoUxAtag(this.mainContent);
    return tag1.byTextEqualsAndIndex(text, index, normalize);
  }
  tagFromSectionById(id) {
    return new CoUxAtag(this.sectionById(id));
  }
  tagFromSectionWithIdByIndex(id, index) {
    let tag1 = new CoUxAtag(this.sectionById(id));
    return tag1.byIndex(index);
  }

}


