public class ClickOnBy extends ByAction implements ClickInteraction
Constructor and Description |
---|
ClickOnBy(org.openqa.selenium.By... locators) |
ClickOnBy(java.util.List<org.openqa.selenium.By> locators) |
Modifier and Type | Method and 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 net.serenitybdd.screenplay.Actor> |
performAs(T theUser) |
ClickInteraction |
withNoDelay()
Click immediately, do not check whether the element is present first.
|
resolveFor
public ClickOnBy(org.openqa.selenium.By... locators)
public ClickOnBy(java.util.List<org.openqa.selenium.By> locators)
public <T extends net.serenitybdd.screenplay.Actor> void performAs(T theUser)
performAs
in interface net.serenitybdd.screenplay.Performable
public ClickOnBy afterWaitingUntilEnabled()
ClickInteraction
afterWaitingUntilEnabled
in interface ClickInteraction
public ClickOnBy afterWaitingUntilPresent()
ClickInteraction
afterWaitingUntilPresent
in interface ClickInteraction
public ClickInteraction withNoDelay()
ClickInteraction
withNoDelay
in interface ClickInteraction