Package org.openqa.selenium.safari
Class AddHasDebugger
- java.lang.Object
-
- org.openqa.selenium.safari.AddHasDebugger
-
- All Implemented Interfaces:
AdditionalHttpCommands
,AugmenterProvider<HasDebugger>
@AutoService({AdditionalHttpCommands.class,AugmenterProvider.class}) public class AddHasDebugger extends java.lang.Object implements AugmenterProvider<HasDebugger>, AdditionalHttpCommands
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTACH_DEBUGGER
-
Constructor Summary
Constructors Constructor Description AddHasDebugger()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,CommandInfo>
getAdditionalCommands()
java.lang.Class<HasDebugger>
getDescribedInterface()
HasDebugger
getImplementation(Capabilities capabilities, ExecuteMethod executeMethod)
For the interface that this provider describes, return an implementation.java.util.function.Predicate<Capabilities>
isApplicable()
-
-
-
Field Detail
-
ATTACH_DEBUGGER
public static final java.lang.String ATTACH_DEBUGGER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAdditionalCommands
public 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<HasDebugger>
- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
public java.lang.Class<HasDebugger> getDescribedInterface()
- Specified by:
getDescribedInterface
in interfaceAugmenterProvider<HasDebugger>
- Returns:
- The interface that this augmentor describes.
-
getImplementation
public HasDebugger 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<HasDebugger>
- Returns:
- An interface implementation
-
-