Package org.openqa.selenium.chromium
Class AddHasCdp
- java.lang.Object
-
- org.openqa.selenium.chromium.AddHasCdp
-
- All Implemented Interfaces:
AdditionalHttpCommands
,AugmenterProvider<HasCdp>
public abstract class AddHasCdp extends java.lang.Object implements AugmenterProvider<HasCdp>, AdditionalHttpCommands
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EXECUTE_CDP
-
Constructor Summary
Constructors Constructor Description AddHasCdp()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Map<java.lang.String,CommandInfo>
getAdditionalCommands()
java.lang.Class<HasCdp>
getDescribedInterface()
HasCdp
getImplementation(Capabilities capabilities, ExecuteMethod executeMethod)
For the interface that this provider describes, return an implementation.java.util.function.Predicate<Capabilities>
isApplicable()
-
-
-
Field Detail
-
EXECUTE_CDP
public static final java.lang.String EXECUTE_CDP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAdditionalCommands
public abstract java.util.Map<java.lang.String,CommandInfo> getAdditionalCommands()
- Specified by:
getAdditionalCommands
in interfaceAdditionalHttpCommands
- Returns:
- Additional commands to add to the
CommandExecutor
.
-
isApplicable
public java.util.function.Predicate<Capabilities> isApplicable()
- Specified by:
isApplicable
in interfaceAugmenterProvider<HasCdp>
- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
public java.lang.Class<HasCdp> getDescribedInterface()
- Specified by:
getDescribedInterface
in interfaceAugmenterProvider<HasCdp>
- Returns:
- The interface that this augmentor describes.
-
getImplementation
public HasCdp getImplementation(Capabilities capabilities, ExecuteMethod executeMethod)
Description copied from interface:AugmenterProvider
For the interface that this provider describes, return an implementation.- Specified by:
getImplementation
in interfaceAugmenterProvider<HasCdp>
- Returns:
- An interface implementation
-
-