Class ClickOnBy
java.lang.Object
net.serenitybdd.screenplay.actions.ByAction
net.serenitybdd.screenplay.actions.ClickOnBy
- All Implemented Interfaces:
SkipNested,ClickInteraction,Resolvable,Interaction,Performable
public class ClickOnBy extends ByAction implements ClickInteraction
-
Field Summary
-
Constructor Summary
-
Method Summary
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
resolveForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
ClickOnBy
public ClickOnBy(org.openqa.selenium.By... locators) -
ClickOnBy
public ClickOnBy(java.util.List<org.openqa.selenium.By> locators)
-
-
Method Details
-
performAs
- Specified by:
performAsin interfacePerformable
-
afterWaitingUntilEnabled
Description copied from interface:ClickInteractionWait until the element is present and enabled before clicking- Specified by:
afterWaitingUntilEnabledin interfaceClickInteraction
-
afterWaitingUntilPresent
Description copied from interface:ClickInteractionWait until the element is present before clicking (default behaviour)- Specified by:
afterWaitingUntilPresentin interfaceClickInteraction
-
withNoDelay
Description copied from interface:ClickInteractionClick immediately, do not check whether the element is present first.- Specified by:
withNoDelayin interfaceClickInteraction
-