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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Get the desired network speed limit for the emulator.
    default T
    Sets the desired network speed limit for the emulator.

    Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setNetworkSpeed

      default T setNetworkSpeed(String speed)
      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

      default Optional<String> getNetworkSpeed()
      Get the desired network speed limit for the emulator.
      Returns:
      Speed value.