Class AbstractLocatorBooleanCondition

java.lang.Object
org.jboss.arquillian.graphene.condition.locator.AbstractLocatorBooleanCondition
All Implemented Interfaces:
com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean>, Function<org.openqa.selenium.WebDriver,Boolean>, org.openqa.selenium.support.ui.ExpectedCondition<Boolean>

public abstract class AbstractLocatorBooleanCondition extends Object implements org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
Author:
Jan Papousek
  • Field Details

    • LOGGER

      protected static final Logger LOGGER
  • Constructor Details

    • AbstractLocatorBooleanCondition

      public AbstractLocatorBooleanCondition(org.openqa.selenium.By locator)
    • AbstractLocatorBooleanCondition

      public AbstractLocatorBooleanCondition(org.openqa.selenium.By locator, boolean negation)
  • Method Details

    • apply

      public Boolean apply(org.openqa.selenium.WebDriver driver)
      Specified by:
      apply in interface com.google.common.base.Function<org.openqa.selenium.WebDriver,Boolean>
      Specified by:
      apply in interface Function<org.openqa.selenium.WebDriver,Boolean>
    • getNegation

      protected boolean getNegation()
    • getLocator

      protected org.openqa.selenium.By getLocator()
    • check

      protected abstract boolean check(org.openqa.selenium.WebDriver driver)