Interface ElementConditionFactory

All Superinterfaces:
BasicConditionFactory<ElementConditionFactory>, BooleanConditionFactory<ElementConditionFactory>
All Known Implementing Classes:
ElementLocatorConditionFactory, WebElementConditionFactory

public interface ElementConditionFactory extends BasicConditionFactory<ElementConditionFactory>
Author:
Jan Papousek
  • Method Summary

    Modifier and Type
    Method
    Description
    attribute(String attribute)
    Returns a condition factory for the given attribute.
    org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
    Returns a condition holding if and only if the element is clickable (visible and enabled).
    org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
    Returns a condition holding if and only if the element is enabled.
    org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
    Returns a condition holding if and only if the element is selected.
    org.openqa.selenium.support.ui.ExpectedCondition<Boolean>
    Returns a condition holding if and only if the element is visible (present and displayed).
    Returns a String condition factory for inner text of the element.

    Methods inherited from interface org.jboss.arquillian.graphene.condition.BasicConditionFactory

    isPresent

    Methods inherited from interface org.jboss.arquillian.graphene.condition.BooleanConditionFactory

    not
  • Method Details

    • attribute

      AttributeConditionFactory attribute(String attribute)
      Returns a condition factory for the given attribute.
      Returns:
    • isEnabled

      org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isEnabled()
      Returns a condition holding if and only if the element is enabled.
    • isSelected

      org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isSelected()
      Returns a condition holding if and only if the element is selected.
      Returns:
    • isVisible

      org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isVisible()
      Returns a condition holding if and only if the element is visible (present and displayed).
      Returns:
    • isClickable

      org.openqa.selenium.support.ui.ExpectedCondition<Boolean> isClickable()
      Returns a condition holding if and only if the element is clickable (visible and enabled).
      Returns:
    • text

      Returns a String condition factory for inner text of the element.
      Returns: