public class Wrapper extends UiCondition
| Constructor and Description |
|---|
Wrapper(String prefix,
UiCondition delegate) |
| Modifier and Type | Method and Description |
|---|---|
String |
actualValue(org.openqa.selenium.WebElement element)
If element didn't match the condition, returns the actual value of element.
|
boolean |
apply(org.openqa.selenium.WebElement element)
Check if given element matches this condition.
|
String |
toString() |
static UiCondition |
wrap(String prefix,
UiCondition delegate) |
applyNull, fail, getNamepublic Wrapper(String prefix, UiCondition delegate)
public boolean apply(org.openqa.selenium.WebElement element)
UiConditionapply in interface com.google.common.base.Predicate<org.openqa.selenium.WebElement>apply in class UiConditionelement - given WebElementpublic String actualValue(org.openqa.selenium.WebElement element)
UiConditionactualValue in class UiConditionelement - given WebElementpublic String toString()
toString in class UiConditionpublic static UiCondition wrap(String prefix, UiCondition delegate)
Copyright 2016, WorkFusion, Inc.