public class IsSelected extends UiCondition
Constructor and Description |
---|
IsSelected(String name) |
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.
|
applyNull, fail, getName, toString
public IsSelected(String name)
public boolean apply(org.openqa.selenium.WebElement element)
UiCondition
apply
in interface com.google.common.base.Predicate<org.openqa.selenium.WebElement>
apply
in class UiCondition
element
- given WebElementpublic String actualValue(org.openqa.selenium.WebElement element)
UiCondition
actualValue
in class UiCondition
element
- given WebElementCopyright 2016, WorkFusion, Inc.