public class ClickOnTarget
extends java.lang.Object
Constructor and Description |
---|
ClickOnTarget(Target target) |
Modifier and Type | Method and Description |
---|---|
ClickInteraction |
afterWaitingUntilEnabled()
Wait until the element is present and enabled before clicking
|
ClickInteraction |
afterWaitingUntilPresent()
Wait until the element is present before clicking (default behaviour)
|
<T extends net.serenitybdd.screenplay.Actor> |
performAs(T theUser) |
net.serenitybdd.core.pages.WebElementFacade |
resolveFor(net.serenitybdd.screenplay.Actor theUser) |
ClickInteraction |
withNoDelay()
Click immediately, do not check whether the element is present first.
|
public ClickOnTarget(Target target)
public net.serenitybdd.core.pages.WebElementFacade resolveFor(net.serenitybdd.screenplay.Actor theUser)
public <T extends net.serenitybdd.screenplay.Actor> void performAs(T theUser)
performAs
in interface net.serenitybdd.screenplay.Performable
public ClickInteraction afterWaitingUntilEnabled()
ClickInteraction
afterWaitingUntilEnabled
in interface ClickInteraction
public ClickInteraction afterWaitingUntilPresent()
ClickInteraction
afterWaitingUntilPresent
in interface ClickInteraction
public ClickInteraction withNoDelay()
ClickInteraction
withNoDelay
in interface ClickInteraction