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.
|
resolveForpublic 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.Performablepublic ClickOnBy afterWaitingUntilEnabled()
ClickInteractionafterWaitingUntilEnabled in interface ClickInteractionpublic ClickOnBy afterWaitingUntilPresent()
ClickInteractionafterWaitingUntilPresent in interface ClickInteractionpublic ClickInteraction withNoDelay()
ClickInteractionwithNoDelay in interface ClickInteraction