Class WebElementQuestion
- java.lang.Object
-
- net.serenitybdd.screenplay.questions.WebElementQuestion
-
- All Implemented Interfaces:
Question<WebElementState>,AcceptsHints
public class WebElementQuestion extends Object implements Question<WebElementState>, AcceptsHints
-
-
Constructor Summary
Constructors Constructor Description WebElementQuestion(Target target)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebElementStateansweredBy(Actor actor)voidapply(Set<Class<? extends QuestionHint>> hints)static Question<WebElementState>stateOf(String xpathOrCssSelector)static Question<WebElementState>stateOf(Target target)static Question<WebElementState>stateOf(org.openqa.selenium.By byLocator)static Question<WebElementState>the(String xpathOrCssSelector)static Question<WebElementState>the(Target target)static Question<WebElementState>the(org.openqa.selenium.By byLocator)static Question<WebElementState>valueOf(String xpathOrCssSelector)static Question<WebElementState>valueOf(Target target)static Question<WebElementState>valueOf(org.openqa.selenium.By byLocator)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.serenitybdd.screenplay.Question
getSubject
-
-
-
-
Constructor Detail
-
WebElementQuestion
public WebElementQuestion(Target target)
-
-
Method Detail
-
stateOf
public static Question<WebElementState> stateOf(Target target)
-
stateOf
public static Question<WebElementState> stateOf(String xpathOrCssSelector)
-
stateOf
public static Question<WebElementState> stateOf(org.openqa.selenium.By byLocator)
-
valueOf
public static Question<WebElementState> valueOf(Target target)
-
valueOf
public static Question<WebElementState> valueOf(String xpathOrCssSelector)
-
valueOf
public static Question<WebElementState> valueOf(org.openqa.selenium.By byLocator)
-
the
public static Question<WebElementState> the(Target target)
-
the
public static Question<WebElementState> the(String xpathOrCssSelector)
-
the
public static Question<WebElementState> the(org.openqa.selenium.By byLocator)
-
answeredBy
public WebElementState answeredBy(Actor actor)
- Specified by:
answeredByin interfaceQuestion<WebElementState>
-
apply
public void apply(Set<Class<? extends QuestionHint>> hints)
- Specified by:
applyin interfaceAcceptsHints
-
-