Interface SupportsNetworkSpeedOption<T extends BaseOptions<T>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NETWORK_SPEED_OPTION  
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getNetworkSpeed()
      Get the desired network speed limit for the emulator.
      default T setNetworkSpeed​(java.lang.String speed)
      Sets the desired network speed limit for the emulator.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • NETWORK_SPEED_OPTION

        static final java.lang.String NETWORK_SPEED_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setNetworkSpeed

        default T setNetworkSpeed​(java.lang.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 java.util.Optional<java.lang.String> getNetworkSpeed()
        Get the desired network speed limit for the emulator.
        Returns:
        Speed value.