Class WebElementQuestion
java.lang.Object
net.serenitybdd.screenplay.questions.WebElementQuestion
- All Implemented Interfaces:
Question<WebElementState>,AcceptsHints
public class WebElementQuestion extends java.lang.Object implements Question<WebElementState>, AcceptsHints
-
Constructor Summary
Constructors Constructor Description WebElementQuestion(Target target) -
Method Summary
Modifier and Type Method Description WebElementStateansweredBy(Actor actor)voidapply(java.util.Set<java.lang.Class<? extends QuestionHint>> hints)static Question<WebElementState>stateOf(java.lang.String xpathOrCssSelector)static Question<WebElementState>stateOf(Target target)static Question<WebElementState>stateOf(org.openqa.selenium.By byLocator)static Question<WebElementState>the(java.lang.String xpathOrCssSelector)static Question<WebElementState>the(Target target)static Question<WebElementState>the(org.openqa.selenium.By byLocator)static Question<WebElementState>valueOf(java.lang.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
-
Constructor Details
-
WebElementQuestion
-
-
Method Details
-
stateOf
-
stateOf
-
stateOf
-
valueOf
-
valueOf
-
valueOf
-
the
-
the
-
the
-
answeredBy
- Specified by:
answeredByin interfaceQuestion<WebElementState>
-
apply
- Specified by:
applyin interfaceAcceptsHints
-