Class ClickOnTarget
- java.lang.Object
-
- net.serenitybdd.screenplay.actions.ClickOnTarget
-
- All Implemented Interfaces:
SkipNested,ClickInteraction,Performable
public class ClickOnTarget extends Object
-
-
Constructor Summary
Constructors Constructor Description ClickOnTarget(Target target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClickInteractionafterWaitingUntilEnabled()Wait until the element is present and enabled before clickingClickInteractionafterWaitingUntilPresent()Wait until the element is present before clicking (default behaviour)ClickStrategygetClickStrategy()<T extends Actor>
voidperformAs(T theUser)ClickInteractionwithNoDelay()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
-
ClickOnTarget
public ClickOnTarget(Target target)
-
-
Method Detail
-
performAs
public <T extends Actor> void performAs(T theUser)
-
afterWaitingUntilEnabled
public ClickInteraction afterWaitingUntilEnabled()
Description copied from interface:ClickInteractionWait until the element is present and enabled before clicking- Specified by:
afterWaitingUntilEnabledin interfaceClickInteraction
-
afterWaitingUntilPresent
public ClickInteraction afterWaitingUntilPresent()
Description copied from interface:ClickInteractionWait until the element is present before clicking (default behaviour)- Specified by:
afterWaitingUntilPresentin interfaceClickInteraction
-
withNoDelay
public ClickInteraction withNoDelay()
Description copied from interface:ClickInteractionClick immediately, do not check whether the element is present first.- Specified by:
withNoDelayin interfaceClickInteraction
-
getClickStrategy
public ClickStrategy getClickStrategy()
-
-