Class ClickOnBy
java.lang.Object
net.serenitybdd.screenplay.actions.ByAction
net.serenitybdd.screenplay.actions.ClickOnBy
- All Implemented Interfaces:
net.serenitybdd.core.SkipNested,ClickInteraction,Resolvable,net.serenitybdd.screenplay.Interaction,net.serenitybdd.screenplay.Performable
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWait until the element is present and enabled before clickingWait until the element is present before clicking (default behaviour)<T extends net.serenitybdd.screenplay.Actor>
voidperformAs(T theUser) Click immediately, do not check whether the element is present first.withStrategy(net.serenitybdd.core.pages.ClickStrategy clickStrategy) Specify the click strategy explicitlyMethods 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
-
-
Method Details
-
performAs
public <T extends net.serenitybdd.screenplay.Actor> void performAs(T theUser) - Specified by:
performAsin interfacenet.serenitybdd.screenplay.Performable
-
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
-
withStrategy
Description copied from interface:ClickInteractionSpecify the click strategy explicitly- Specified by:
withStrategyin interfaceClickInteraction
-