Class CheckCheckboxOfElement
- java.lang.Object
-
- net.serenitybdd.screenplay.actions.CheckCheckboxOfElement
-
- All Implemented Interfaces:
SkipNested
,ClickInteraction
,Performable
public class CheckCheckboxOfElement extends Object
-
-
Constructor Summary
Constructors Constructor Description CheckCheckboxOfElement(WebElementFacade element, boolean expectedToBeChecked)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClickInteraction
afterWaitingUntilEnabled()
Wait until the element is present and enabled before clickingClickInteraction
afterWaitingUntilPresent()
Wait until the element is present before clicking (default behaviour)ClickStrategy
getClickStrategy()
<T extends Actor>
voidperformAs(T actor)
ClickInteraction
withNoDelay()
Click immediately, do not check whether the element is present first.-
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.Performable
then
-
-
-
-
Constructor Detail
-
CheckCheckboxOfElement
public CheckCheckboxOfElement(WebElementFacade element, boolean expectedToBeChecked)
-
-
Method Detail
-
performAs
public <T extends Actor> void performAs(T actor)
-
afterWaitingUntilEnabled
public ClickInteraction afterWaitingUntilEnabled()
Description copied from interface:ClickInteraction
Wait until the element is present and enabled before clicking- Specified by:
afterWaitingUntilEnabled
in interfaceClickInteraction
-
afterWaitingUntilPresent
public ClickInteraction afterWaitingUntilPresent()
Description copied from interface:ClickInteraction
Wait until the element is present before clicking (default behaviour)- Specified by:
afterWaitingUntilPresent
in interfaceClickInteraction
-
withNoDelay
public ClickInteraction withNoDelay()
Description copied from interface:ClickInteraction
Click immediately, do not check whether the element is present first.- Specified by:
withNoDelay
in interfaceClickInteraction
-
getClickStrategy
public ClickStrategy getClickStrategy()
-
-