Class WebElementConditionFactory
java.lang.Object
org.jboss.arquillian.graphene.condition.AbstractBooleanConditionFactory<ElementConditionFactory>
org.jboss.arquillian.graphene.condition.element.WebElementConditionFactory
- All Implemented Interfaces:
BasicConditionFactory<ElementConditionFactory>,BooleanConditionFactory<ElementConditionFactory>,ElementConditionFactory
public class WebElementConditionFactory
extends AbstractBooleanConditionFactory<ElementConditionFactory>
implements ElementConditionFactory
- Author:
- Jan Papousek
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a condition factory for the given attribute.protected WebElementConditionFactorycopy()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 object is present on the page.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).text()Returns a String condition factory for inner text of the element.Methods inherited from class org.jboss.arquillian.graphene.condition.AbstractBooleanConditionFactory
getNegation, not, setNegationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.arquillian.graphene.condition.BooleanConditionFactory
not
-
Constructor Details
-
WebElementConditionFactory
public WebElementConditionFactory(org.openqa.selenium.WebElement element)
-
-
Method Details
-
attribute
Description copied from interface:ElementConditionFactoryReturns a condition factory for the given attribute.- Specified by:
attributein interfaceElementConditionFactory- Returns:
-
isPresent
Description copied from interface:BasicConditionFactoryReturns a condition holding if and only if the object is present on the page.- Specified by:
isPresentin interfaceBasicConditionFactory<ElementConditionFactory>- Returns:
-
isSelected
Description copied from interface:ElementConditionFactoryReturns a condition holding if and only if the element is selected.- Specified by:
isSelectedin interfaceElementConditionFactory- Returns:
-
isVisible
Description copied from interface:ElementConditionFactoryReturns a condition holding if and only if the element is visible (present and displayed).- Specified by:
isVisiblein interfaceElementConditionFactory- Returns:
-
isClickable
Description copied from interface:ElementConditionFactoryReturns a condition holding if and only if the element is clickable (visible and enabled).- Specified by:
isClickablein interfaceElementConditionFactory- Returns:
-
text
Description copied from interface:ElementConditionFactoryReturns a String condition factory for inner text of the element.- Specified by:
textin interfaceElementConditionFactory- Returns:
-
copy
- Specified by:
copyin classAbstractBooleanConditionFactory<ElementConditionFactory>
-
isEnabled
Description copied from interface:ElementConditionFactoryReturns a condition holding if and only if the element is enabled.- Specified by:
isEnabledin interfaceElementConditionFactory
-