public class ClickOnElement extends Object
| Constructor and Description |
|---|
ClickOnElement(WebElementFacade element) |
| 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)
|
ClickStrategy |
getClickStrategy() |
<T extends Actor> |
performAs(T theUser) |
ClickInteraction |
withNoDelay()
Click immediately, do not check whether the element is present first.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthenpublic ClickOnElement(WebElementFacade element)
public <T extends Actor> void performAs(T theUser)
public ClickInteraction afterWaitingUntilEnabled()
ClickInteractionafterWaitingUntilEnabled in interface ClickInteractionpublic ClickInteraction afterWaitingUntilPresent()
ClickInteractionafterWaitingUntilPresent in interface ClickInteractionpublic ClickInteraction withNoDelay()
ClickInteractionwithNoDelay in interface ClickInteractionpublic ClickStrategy getClickStrategy()
Copyright © 2021. All rights reserved.