Package org.openqa.selenium.chrome
Class AddHasCdp
- java.lang.Object
-
- org.openqa.selenium.chromium.AddHasCdp
-
- org.openqa.selenium.chrome.AddHasCdp
-
- All Implemented Interfaces:
AdditionalHttpCommands
,AugmenterProvider<HasCdp>
@AutoService({AdditionalHttpCommands.class,AugmenterProvider.class}) public class AddHasCdp extends AddHasCdp
-
-
Field Summary
-
Fields inherited from class org.openqa.selenium.chromium.AddHasCdp
EXECUTE_CDP
-
-
Constructor Summary
Constructors Constructor Description AddHasCdp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,CommandInfo>
getAdditionalCommands()
java.util.function.Predicate<Capabilities>
isApplicable()
-
Methods inherited from class org.openqa.selenium.chromium.AddHasCdp
getDescribedInterface, getImplementation
-
-
-
-
Method Detail
-
getAdditionalCommands
public java.util.Map<java.lang.String,CommandInfo> getAdditionalCommands()
- Specified by:
getAdditionalCommands
in interfaceAdditionalHttpCommands
- Specified by:
getAdditionalCommands
in classAddHasCdp
- Returns:
- Additional commands to add to the
CommandExecutor
.
-
isApplicable
public java.util.function.Predicate<Capabilities> isApplicable()
- Specified by:
isApplicable
in interfaceAugmenterProvider<HasCdp>
- Overrides:
isApplicable
in classAddHasCdp
- Returns:
- Whether this provider should be applied given these
caps
.
-
-