Package org.openqa.selenium.chromium
Class AddHasCasting
- java.lang.Object
-
- org.openqa.selenium.chromium.AddHasCasting
-
- All Implemented Interfaces:
AdditionalHttpCommands
,AugmenterProvider<HasCasting>
- Direct Known Subclasses:
AddHasCasting
,AddHasCasting
public abstract class AddHasCasting extends java.lang.Object implements AugmenterProvider<HasCasting>, AdditionalHttpCommands
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
GET_CAST_ISSUE_MESSAGE
static java.lang.String
GET_CAST_SINKS
static java.lang.String
SET_CAST_SINK_TO_USE
static java.lang.String
START_CAST_DESKTOP_MIRRORING
static java.lang.String
START_CAST_TAB_MIRRORING
static java.lang.String
STOP_CASTING
-
Constructor Summary
Constructors Constructor Description AddHasCasting()
-
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<HasCasting>
getDescribedInterface()
HasCasting
getImplementation(Capabilities capabilities, ExecuteMethod executeMethod)
For the interface that this provider describes, return an implementation.abstract java.util.function.Predicate<Capabilities>
isApplicable()
-
-
-
Field Detail
-
GET_CAST_SINKS
public static final java.lang.String GET_CAST_SINKS
- See Also:
- Constant Field Values
-
SET_CAST_SINK_TO_USE
public static final java.lang.String SET_CAST_SINK_TO_USE
- See Also:
- Constant Field Values
-
START_CAST_TAB_MIRRORING
public static final java.lang.String START_CAST_TAB_MIRRORING
- See Also:
- Constant Field Values
-
START_CAST_DESKTOP_MIRRORING
public static final java.lang.String START_CAST_DESKTOP_MIRRORING
- See Also:
- Constant Field Values
-
GET_CAST_ISSUE_MESSAGE
public static final java.lang.String GET_CAST_ISSUE_MESSAGE
- See Also:
- Constant Field Values
-
STOP_CASTING
public static final java.lang.String STOP_CASTING
- 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 abstract java.util.function.Predicate<Capabilities> isApplicable()
- Specified by:
isApplicable
in interfaceAugmenterProvider<HasCasting>
- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
public java.lang.Class<HasCasting> getDescribedInterface()
- Specified by:
getDescribedInterface
in interfaceAugmenterProvider<HasCasting>
- Returns:
- The interface that this augmentor describes.
-
getImplementation
public HasCasting 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<HasCasting>
- Returns:
- An interface implementation
-
-