java.lang.Object
net.serenitybdd.screenplay.UseAnAbility
-
Method Summary
-
Method Details
-
of
-
that
If theactorhas anAbilitythat implements the Interface, return that. If there are multiple candidate Abilities, the first one found will be returned.- Type Parameters:
C- the implementation of the Interface- Parameters:
implementedInterface- the Interface class that we expect to find- Returns:
- the Ability that implements the interface
-