Package org.openqa.selenium.chromium
Class AddHasPermissions
java.lang.Object
org.openqa.selenium.chromium.AddHasPermissions
- All Implemented Interfaces:
AdditionalHttpCommands
,AugmenterProvider<HasPermissions>
@AutoService({AdditionalHttpCommands.class,AugmenterProvider.class})
public class AddHasPermissions
extends Object
implements AugmenterProvider<HasPermissions>, AdditionalHttpCommands
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetImplementation
(Capabilities capabilities, ExecuteMethod executeMethod) For the interface that this provider describes, return an implementation.
-
Field Details
-
SET_PERMISSION
- See Also:
-
-
Constructor Details
-
AddHasPermissions
public AddHasPermissions()
-
-
Method Details
-
getAdditionalCommands
- Specified by:
getAdditionalCommands
in interfaceAdditionalHttpCommands
- Returns:
- Additional commands to add to the
CommandExecutor
.
-
isApplicable
- Specified by:
isApplicable
in interfaceAugmenterProvider<HasPermissions>
- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
- Specified by:
getDescribedInterface
in interfaceAugmenterProvider<HasPermissions>
- Returns:
- The interface that this augmentor describes.
-
getImplementation
Description copied from interface:AugmenterProvider
For the interface that this provider describes, return an implementation.- Specified by:
getImplementation
in interfaceAugmenterProvider<HasPermissions>
- Returns:
- An interface implementation
-