|
Graphene Selenium: Implementation 2.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.arquillian.ajocado.waiting.conditions.ElementVisible
public class ElementVisible
Implementation of Condition for waiting until given element is displayed.
Implements Condition and JavaScriptCondition used in SeleniumWaiting and AjaxWaiting.
| Constructor Summary | |
|---|---|
protected |
ElementVisible()
Instantiates a new element present. |
| Method Summary | |
|---|---|
static ElementVisible |
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. |
ElementVisible |
locator(ElementLocator<?> elementLocator)
Returns the ElementPresent instance with given elementLocator set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ElementVisible()
| Method Detail |
|---|
public boolean isTrue()
SeleniumCondition
isTrue in interface SeleniumConditionpublic JavaScript getJavaScriptCondition()
JavaScriptCondition
getJavaScriptCondition in interface JavaScriptConditionpublic static ElementVisible getInstance()
public ElementVisible locator(ElementLocator<?> elementLocator)
elementLocator - the element locator
|
Graphene Selenium: Implementation 2.0.0.Alpha1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||