|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.waiting.conditions.AttributePresent
public class AttributePresent
Implementation of Condition for waiting, if given element's attribute is already present on the page.
Implements Condition and JavaScriptCondition used in SeleniumWaiting and AjaxWaiting.
| Constructor Summary | |
|---|---|
protected |
AttributePresent()
Instantiates a new element present. |
| Method Summary | |
|---|---|
static AttributePresent |
getInstance()
Factory method. |
JavaScript |
getJavaScriptCondition()
Gets JavaScript which define condition what it should be waited for satisfaction. |
boolean |
isTrue()
Returns true if condition is satisfied, false if it isn't. |
AttributePresent |
locator(AttributeLocator<?> attributeLocator)
Returns the AttributePresent instance with given attributeLocator set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AttributePresent()
| Method Detail |
|---|
public boolean isTrue()
SeleniumCondition
isTrue in interface SeleniumConditionpublic JavaScript getJavaScriptCondition()
JavaScriptCondition
getJavaScriptCondition in interface JavaScriptConditionpublic static AttributePresent getInstance()
public AttributePresent locator(AttributeLocator<?> attributeLocator)
attributeLocator - the attribute locator
|
Ajocado Implementation 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||