Class Uncheck
java.lang.Object
net.serenitybdd.screenplay.playwright.interactions.Uncheck
- All Implemented Interfaces:
net.serenitybdd.core.SkipNested,net.serenitybdd.screenplay.Performable
Uncheck a checkbox element.
Sample usage:
actor.attemptsTo(
Uncheck.checkbox("#terms"),
Uncheck.checkbox(TERMS_CHECKBOX)
);
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UncheckUncheck a checkbox identified by a selector.static UncheckUncheck a Target checkbox.<T extends net.serenitybdd.screenplay.Actor>
voidperformAs(T actor) withOptions(com.microsoft.playwright.Locator.UncheckOptions options) Provide additional uncheck options.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
Uncheck
-
-
Method Details
-
checkbox
Uncheck a checkbox identified by a selector. -
checkbox
Uncheck a Target checkbox. -
withOptions
Provide additional uncheck options. -
performAs
public <T extends net.serenitybdd.screenplay.Actor> void performAs(T actor) - Specified by:
performAsin interfacenet.serenitybdd.screenplay.Performable
-