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
|
resolveFor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
then
thatPerforms, where, where
public 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 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
public ClickInteraction withStrategy(ClickStrategy clickStrategy)
ClickInteraction
withStrategy
in interface ClickInteraction
Copyright © 2023. All rights reserved.