Package org.openqa.selenium.remote
Interface AugmenterProvider
-
- All Known Implementing Classes:
AddApplicationCache
,AddLocationContext
,AddNetworkConnection
,AddRotatable
,AddWebStorage
public interface AugmenterProvider
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 Default Methods Modifier and Type Method Description java.lang.Class<?>
getDescribedInterface()
InterfaceImplementation
getImplementation(java.lang.Object value)
For the interface that this provider describes, return an implementation.default java.util.function.Predicate<org.openqa.selenium.Capabilities>
isApplicable()
-
-
-
Method Detail
-
isApplicable
default java.util.function.Predicate<org.openqa.selenium.Capabilities> isApplicable()
- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
java.lang.Class<?> getDescribedInterface()
- Returns:
- The interface that this augmentor describes.
-
getImplementation
InterfaceImplementation getImplementation(java.lang.Object value)
For the interface that this provider describes, return an implementation.- Parameters:
value
- The value from the capability map- Returns:
- An interface implementation
-
-