Package org.openqa.selenium.chromium
Class AddHasNetworkConditions
java.lang.Object
org.openqa.selenium.chromium.AddHasNetworkConditions
- All Implemented Interfaces:
AdditionalHttpCommands
,AugmenterProvider<HasNetworkConditions>
@AutoService({AdditionalHttpCommands.class,AugmenterProvider.class})
public class AddHasNetworkConditions
extends Object
implements AugmenterProvider<HasNetworkConditions>, 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
-
GET_NETWORK_CONDITIONS
- See Also:
-
SET_NETWORK_CONDITIONS
- See Also:
-
DELETE_NETWORK_CONDITIONS
- See Also:
-
-
Constructor Details
-
AddHasNetworkConditions
public AddHasNetworkConditions()
-
-
Method Details
-
getAdditionalCommands
- Specified by:
getAdditionalCommands
in interfaceAdditionalHttpCommands
- Returns:
- Additional commands to add to the
CommandExecutor
.
-
isApplicable
- Specified by:
isApplicable
in interfaceAugmenterProvider<HasNetworkConditions>
- Returns:
- Whether this provider should be applied given these
caps
.
-
getDescribedInterface
- Specified by:
getDescribedInterface
in interfaceAugmenterProvider<HasNetworkConditions>
- Returns:
- The interface that this augmentor describes.
-
getImplementation
public HasNetworkConditions 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<HasNetworkConditions>
- Returns:
- An interface implementation
-