public class IsFocused extends UiCondition
| Modifier and Type | Method and Description |
|---|---|
String |
actualValue(org.openqa.selenium.WebElement webElement)
If element didn't match the condition, returns the actual value of element.
|
boolean |
apply(org.openqa.selenium.WebElement webElement)
Check if given element matches this condition.
|
applyNull, fail, getName, toStringpublic IsFocused(String name)
public boolean apply(org.openqa.selenium.WebElement webElement)
UiConditionapply in interface com.google.common.base.Predicate<org.openqa.selenium.WebElement>apply in class UiConditionwebElement - given WebElementpublic String actualValue(org.openqa.selenium.WebElement webElement)
UiConditionactualValue in class UiConditionwebElement - given WebElementCopyright 2016, WorkFusion, Inc.