Class Conditions

java.lang.Object
dev.comfast.cf.common.conditions.Conditions

public class Conditions extends Object
Predefined conditions and factory methods.
  • Field Details

    • exists

      public static Condition exists
      Pass if element exist in DOM. Doesn't check visibility.
    • appear

      public static Condition appear
      Pass if element is visible.
    • disappear

      public static Condition disappear
      Pass if element is not visible.
    • beDisabled

      public static Condition beDisabled
      Pass if element is disabled
    • beEnabled

      public static Condition beEnabled
      Pass if element is enabled
    • beClickable

      public static Condition beClickable
      Pass if element can be clicked. i.e. it exists, visible and enabled
  • Constructor Details

    • Conditions

      public Conditions()
  • Method Details