Class ClickOnBy
- java.lang.Object
-
- net.serenitybdd.screenplay.actions.ByAction
-
- net.serenitybdd.screenplay.actions.ClickOnBy
-
- All Implemented Interfaces:
SkipNested,Resolvable,ClickInteraction,Interaction,Performable
public class ClickOnBy extends ByAction implements ClickInteraction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClickOnByafterWaitingUntilEnabled()Wait until the element is present and enabled before clickingClickOnByafterWaitingUntilPresent()Wait until the element is present before clicking (default behaviour)<T extends Actor>
voidperformAs(T theUser)ClickInteractionwithNoDelay()Click immediately, do not check whether the element is present first.-
Methods inherited from class net.serenitybdd.screenplay.actions.ByAction
resolveFor
-
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
-
ClickOnBy
public ClickOnBy(org.openqa.selenium.By... locators)
-
ClickOnBy
public ClickOnBy(List<org.openqa.selenium.By> locators)
-
-
Method Detail
-
performAs
public <T extends Actor> void performAs(T theUser)
- Specified by:
performAsin interfacePerformable
-
afterWaitingUntilEnabled
public ClickOnBy afterWaitingUntilEnabled()
Description copied from interface:ClickInteractionWait until the element is present and enabled before clicking- Specified by:
afterWaitingUntilEnabledin interfaceClickInteraction
-
afterWaitingUntilPresent
public ClickOnBy 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
-
-