public class ClickOnBy extends ByAction implements ClickInteraction
| Constructor and Description |
|---|
ClickOnBy(org.openqa.selenium.By... locators) |
ClickOnBy(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 Actor> |
performAs(T theUser) |
ClickInteraction |
withNoDelay()
Click immediately, do not check whether the element is present first.
|
ClickInteraction |
withStrategy(ClickStrategy clickStrategy)
Specify the click strategy explicitly
|
resolveForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthenthatPerforms, where, wherepublic ClickOnBy(org.openqa.selenium.By... locators)
public ClickOnBy(List<org.openqa.selenium.By> locators)
public <T extends Actor> void performAs(T theUser)
performAs in interface Performablepublic ClickOnBy afterWaitingUntilEnabled()
ClickInteractionafterWaitingUntilEnabled in interface ClickInteractionpublic ClickOnBy afterWaitingUntilPresent()
ClickInteractionafterWaitingUntilPresent in interface ClickInteractionpublic ClickInteraction withNoDelay()
ClickInteractionwithNoDelay in interface ClickInteractionpublic ClickInteraction withStrategy(ClickStrategy clickStrategy)
ClickInteractionwithStrategy in interface ClickInteractionCopyright © 2023. All rights reserved.