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
Fields -
Constructor Summary
Constructors -
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:
getAdditionalCommandsin interfaceAdditionalHttpCommands- Returns:
- Additional commands to add to the
CommandExecutor.
-
isApplicable
- Specified by:
isApplicablein interfaceAugmenterProvider<HasNetworkConditions>- Returns:
- Whether this provider should be applied given these
caps.
-
getDescribedInterface
- Specified by:
getDescribedInterfacein interfaceAugmenterProvider<HasNetworkConditions>- Returns:
- The interface that this augmentor describes.
-
getImplementation
public HasNetworkConditions getImplementation(Capabilities capabilities, ExecuteMethod executeMethod) Description copied from interface:AugmenterProviderFor the interface that this provider describes, return an implementation.- Specified by:
getImplementationin interfaceAugmenterProvider<HasNetworkConditions>- Returns:
- An interface implementation
-