Package org.openqa.selenium.remote
Interface AugmenterProvider<X>
- All Known Implementing Classes:
AddHasAuthentication
,AddHasCasting
,AddHasCasting
,AddHasCasting
,AddHasCdp
,AddHasCdp
,AddHasCdp
,AddHasContext
,AddHasDebugger
,AddHasExtensions
,AddHasFullPageScreenshot
,AddHasLaunchApp
,AddHasLogEvents
,AddHasNetworkConditions
,AddHasPermissions
,AddHasPermissions
,AddWebStorage
,BiDiProvider
,DevToolsProvider
public interface AugmenterProvider<X>
Describes and provides an implementation for a particular interface for use with the
Augmenter
. Think of this as a simulacrum of mixins.-
Method Summary
Modifier and TypeMethodDescriptiongetImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) For the interface that this provider describes, return an implementation.
-
Method Details
-
isApplicable
Predicate<Capabilities> isApplicable()- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
- Returns:
- The interface that this augmentor describes.
-
getImplementation
For the interface that this provider describes, return an implementation.- Returns:
- An interface implementation
-