Class ClickOnBy
java.lang.Object
net.serenitybdd.screenplay.actions.ByAction
net.serenitybdd.screenplay.actions.ClickOnBy
- All Implemented Interfaces:
SkipNested
,Resolvable
,ClickInteraction
,Interaction
,Performable
public class ClickOnBy extends ByAction implements ClickInteraction
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ClickOnBy
afterWaitingUntilEnabled()
Wait until the element is present and enabled before clickingClickOnBy
afterWaitingUntilPresent()
Wait until the element is present before clicking (default behaviour)<T extends Actor>
voidperformAs(T theUser)
ClickInteraction
withNoDelay()
Click immediately, do not check whether the element is present first.Methods inherited from class net.serenitybdd.screenplay.actions.ByAction
resolveFor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
ClickOnBy
public ClickOnBy(org.openqa.selenium.By... locators) -
ClickOnBy
public ClickOnBy(java.util.List<org.openqa.selenium.By> locators)
-
-
Method Details
-
performAs
- Specified by:
performAs
in interfacePerformable
-
afterWaitingUntilEnabled
Description copied from interface:ClickInteraction
Wait until the element is present and enabled before clicking- Specified by:
afterWaitingUntilEnabled
in interfaceClickInteraction
-
afterWaitingUntilPresent
Description copied from interface:ClickInteraction
Wait until the element is present before clicking (default behaviour)- Specified by:
afterWaitingUntilPresent
in interfaceClickInteraction
-
withNoDelay
Description copied from interface:ClickInteraction
Click immediately, do not check whether the element is present first.- Specified by:
withNoDelay
in interfaceClickInteraction
-