Class N2oPage.N2oPopover

All Implemented Interfaces:
Component, Element, Page.Popover
Enclosing class:
N2oPage

public static class N2oPage.N2oPopover extends N2oComponent implements Page.Popover
  • Constructor Details

    • N2oPopover

      public N2oPopover(com.codeborne.selenide.SelenideElement element)
  • Method Details

    • shouldHaveText

      public void shouldHaveText(String text, Duration... duration)
      Description copied from interface: Page.Popover
      Проверка заголовка на соответствие
      Specified by:
      shouldHaveText in interface Page.Popover
      Parameters:
      text - ожидаемый заголовок
    • button

      public StandardButton button(String label)
      Description copied from interface: Page.Popover
      Возвращает кнопку соответствующую метке
      Specified by:
      button in interface Page.Popover
      Parameters:
      label - метка кнопки
    • button

      public StandardButton button(int index)
      Description copied from interface: Page.Popover
      Возвращает кнопку по индексу
      Specified by:
      button in interface Page.Popover
      Parameters:
      index - индекс кнопки
    • shouldBeClosed

      public void shouldBeClosed(Duration... duration)
      Description copied from interface: Page.Popover
      Проверка закрытия поповера
      Specified by:
      shouldBeClosed in interface Page.Popover