Class TextContent
- java.lang.Object
-
- net.serenitybdd.screenplay.questions.UIState<T>
-
- net.serenitybdd.screenplay.questions.TargetedUIState<String>
-
- net.serenitybdd.screenplay.questions.TextContent
-
public class TextContent extends TargetedUIState<String>
-
-
Field Summary
-
Fields inherited from class net.serenitybdd.screenplay.questions.TargetedUIState
target
-
Fields inherited from class net.serenitybdd.screenplay.questions.UIState
actor, DEFAULT_CONVERTERS
-
-
Constructor Summary
Constructors Constructor Description TextContent(Target target, Actor actor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UIStateReaderBuilder<TextContent>
of(String locator)
static UIStateReaderBuilder<TextContent>
of(Target target)
static UIStateReaderBuilder<TextContent>
of(org.openqa.selenium.By byLocator)
String
resolve()
List<String>
resolveAll()
-
Methods inherited from class net.serenitybdd.screenplay.questions.TargetedUIState
asList, asListOf, 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, value
-
-
-
-
Method Detail
-
of
public static UIStateReaderBuilder<TextContent> of(Target target)
-
of
public static UIStateReaderBuilder<TextContent> of(org.openqa.selenium.By byLocator)
-
of
public static UIStateReaderBuilder<TextContent> of(String locator)
-
resolveAll
public List<String> resolveAll()
- Specified by:
resolveAll
in classTargetedUIState<String>
-
-