Class UseAnAbility

java.lang.Object
net.serenitybdd.screenplay.UseAnAbility

public class UseAnAbility extends Object
A factory to get an Ability of an Actor, when we don't care what it is specifically, just that it can do what we expect it to. Example Usage: UseAnAbility.of(actor).that(CanLevitate.class).hover()