Class UiCondition

java.lang.Object
com.workfusion.rpa.helpers.conditionsnative.UiCondition
com.workfusion.rpa.helpers.conditions.UiCondition
All Implemented Interfaces:
com.google.common.base.Predicate<com.workfusion.rpa.internal.api.element.WebElement>, Predicate<com.workfusion.rpa.internal.api.element.WebElement>
Direct Known Subclasses:
AndUiCondition, ExpectsAttribute, ExpectsValue, HasAttribute, HasCssClass, IsDisplayed, IsEnabled, IsExists, IsFocused, IsHidden, IsSelected, NotUiCondition, OrUiCondition, TextCaseInSensitive, Wrapper

@Deprecated public abstract class UiCondition extends com.workfusion.rpa.helpers.conditionsnative.UiCondition implements com.google.common.base.Predicate<com.workfusion.rpa.internal.api.element.WebElement>
Deprecated.
use class from conditionsnative package instead.
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract boolean
    apply(com.workfusion.rpa.internal.api.element.WebElement element)
    Deprecated.
    Check if given element matches this condition.

    Methods inherited from class com.workfusion.rpa.helpers.conditionsnative.UiCondition

    actualValue, applyNull, fail, getName, toString

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.common.base.Predicate

    equals, test

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • apply

      public abstract boolean apply(com.workfusion.rpa.internal.api.element.WebElement element)
      Deprecated.
      Check if given element matches this condition.
      Specified by:
      apply in interface com.google.common.base.Predicate<com.workfusion.rpa.internal.api.element.WebElement>
      Overrides:
      apply in class com.workfusion.rpa.helpers.conditionsnative.UiCondition
      Parameters:
      element - given WebElement
      Returns:
      true if element matches condition