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