Class TargetedUIState<T>
java.lang.Object
net.serenitybdd.screenplay.questions.UIState<T>
net.serenitybdd.screenplay.questions.TargetedUIState<T>
- Direct Known Subclasses:
Attribute
,CSSValue
,CurrentlyEnabled
,CurrentVisibility
,Enabled
,Presence
,SelectedStatus
,SelectedValue
,SelectedVisibleTextValue
,SelectOptions
,Text
,TextContent
,TheCoordinates
,TheLocation
,TheSize
,Value
,Visibility
public abstract class TargetedUIState<T> extends UIState<T>
-
Field Summary
Fields inherited from class net.serenitybdd.screenplay.questions.UIState
actor, DEFAULT_CONVERTERS
-
Constructor Summary
Constructors Modifier Constructor Description protected
TargetedUIState(Target target, Actor actor)
-
Method Summary
Modifier and Type Method Description java.util.List<T>
asList()
<T> java.util.List<T>
asListOf(java.lang.Class<T> type)
abstract java.util.List<T>
resolveAll()
protected java.util.stream.Stream<WebElementFacade>
resolvedElements()
Methods inherited from class net.serenitybdd.screenplay.questions.UIState
as, asBigDecimal, asBoolean, asDate, asDate, asDouble, asEnum, asFloat, asInteger, asLocalDate, asLocalDate, asLong, asString, converterFor, convertToEnums, resolve, value
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
target
-
-
Constructor Details
-
TargetedUIState
-
-
Method Details
-
resolveAll
-
asList
-
asListOf
public <T> java.util.List<T> asListOf(java.lang.Class<T> type) -
resolvedElements
-