Interface SupportsNetworkSpeedOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
EspressoOptions,UiAutomator2Options
public interface SupportsNetworkSpeedOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the desired network speed limit for the emulator.default TsetNetworkSpeed(String speed) Sets the desired network speed limit for the emulator.Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
NETWORK_SPEED_OPTION
- See Also:
-
-
Method Details
-
setNetworkSpeed
Sets the desired network speed limit for the emulator. It is only applied if the emulator is not running before the test starts. See emulator command line arguments description for more details.- Parameters:
speed- Speed value.- Returns:
- self instance for chaining.
-
getNetworkSpeed
Get the desired network speed limit for the emulator.- Returns:
- Speed value.
-