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
  • Field Summary

    Fields inherited from class net.serenitybdd.screenplay.actions.ByAction

    locators
  • Constructor Summary

    Constructors
    Constructor Description
    ClickOnBy​(java.util.List<org.openqa.selenium.By> locators)  
    ClickOnBy​(org.openqa.selenium.By... locators)  
  • Method Summary

    Modifier and Type Method Description
    ClickOnBy afterWaitingUntilEnabled()
    Wait until the element is present and enabled before clicking
    ClickOnBy afterWaitingUntilPresent()
    Wait until the element is present before clicking (default behaviour)
    <T extends Actor>
    void
    performAs​(T theUser)  
    ClickInteraction withNoDelay()
    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