Interface SpecificConditionHandler

All Known Implementing Classes:
AbstractCheckbox, AbstractComboBox, AbstractComponent, AbstractDetails, AbstractDropdownComponent, AbstractField, AbstractMenu, AbstractMultiSelectComboBox, AbstractOverlay, AbstractOverlayComponent, AbstractSpecificConditionHandler, AbstractTextInput, Accordion, Accordion.Panel, Button, Checkbox, CheckboxGroup, CodeEditor, ComboBox, ComboBoxOverlay, ComboButton, Composite, DataGrid, DataGrid.AbstractCell, DataGrid.AbstractRow, DataGrid.Cell, DataGrid.HeaderCell, DataGrid.HeaderRow, DataGrid.Row, DatePicker, DateTimePicker, Details, DialogWindow, DropdownButton, EntityComboBox, EntityPicker, HorizontalMenu, ListMenu, MenuBarOverlay, MultiSelectComboBox, MultiSelectComboBoxPicker, MultiValuePicker, Notification, PasswordField, RadioButtonGroup, Select, SelectOverlay, TabSheet, TabSheet.Tab, TextArea, TextField, TimePicker, Unknown, ValuePicker, View

public interface SpecificConditionHandler
Interface for checking Specific Conditions.

Handling of Specific Conditions depends on the component type and state.

  • Method Summary

    Modifier and Type
    Method
    Description
    com.codeborne.selenide.CheckResult
    Checks whether the current handler matches the passed SpecificCondition.
  • Method Details

    • check

      com.codeborne.selenide.CheckResult check(SpecificCondition condition)
      Checks whether the current handler matches the passed SpecificCondition.
      Parameters:
      condition - condition to check
      Returns:
      CheckResult that contains CheckResult.Verdict.ACCEPT if the current handler matches the passed SpecificCondition, CheckResult.Verdict.REJECT otherwise