Interface ClickInteraction
- All Superinterfaces:
net.serenitybdd.screenplay.Performable,net.serenitybdd.core.SkipNested
- All Known Implementing Classes:
CheckCheckboxOfElement,CheckCheckboxOfTarget,ClickOnBy,ClickOnElement,ClickOnTarget
public interface ClickInteraction
extends net.serenitybdd.screenplay.Performable
-
Method Summary
Modifier and TypeMethodDescriptionWait until the element is present and enabled before clickingWait until the element is present before clicking (default behaviour)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 interface net.serenitybdd.screenplay.Performable
performAs, then
-
Method Details
-
afterWaitingUntilEnabled
ClickInteraction afterWaitingUntilEnabled()Wait until the element is present and enabled before clicking -
afterWaitingUntilPresent
ClickInteraction afterWaitingUntilPresent()Wait until the element is present before clicking (default behaviour) -
withNoDelay
ClickInteraction withNoDelay()Click immediately, do not check whether the element is present first. -
withStrategy
Specify the click strategy explicitly
-