|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.arquillian.ajocado.waiting.conditions.AlertPresent
public class AlertPresent
Implementation of Condition for waiting, if an alert is present on the page.
Implements Condition and JavaScriptCondition used in SeleniumWaiting and AjaxWaiting.
Constructor Summary | |
---|---|
protected |
AlertPresent()
Instantiates a new element present. |
Method Summary | |
---|---|
static AlertPresent |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AlertPresent()
Method Detail |
---|
public boolean isTrue()
SeleniumCondition
isTrue
in interface SeleniumCondition
public JavaScript getJavaScriptCondition()
JavaScriptCondition
getJavaScriptCondition
in interface JavaScriptCondition
public static AlertPresent getInstance()
|
Graphene Implementation 1.0.0.CR3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |