Package org.openqa.selenium.remote
Interface AugmenterProvider<X>
-
- All Known Implementing Classes:
AddApplicationCache,AddLocationContext,AddNetworkConnection,AddRotatable,AddWebStorage,DevToolsProvider
public interface AugmenterProvider<X>Describes and provides an implementation for a particular interface for use with theAugmenter. Think of this as a simulacrum of mixins.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<X>getDescribedInterface()XgetImplementation(org.openqa.selenium.Capabilities capabilities, ExecuteMethod executeMethod)For the interface that this provider describes, return an implementation.java.util.function.Predicate<org.openqa.selenium.Capabilities>isApplicable()
-
-
-
Method Detail
-
isApplicable
java.util.function.Predicate<org.openqa.selenium.Capabilities> isApplicable()
- Returns:
- Whether this provider should be applied given these
caps.
-
getDescribedInterface
java.lang.Class<X> getDescribedInterface()
- Returns:
- The interface that this augmentor describes.
-
getImplementation
X getImplementation(org.openqa.selenium.Capabilities capabilities, ExecuteMethod executeMethod)
For the interface that this provider describes, return an implementation.- Returns:
- An interface implementation
-
-