Interface HasNetworkConditions

All Known Implementing Classes:
ChromeDriver, ChromiumDriver, EdgeDriver

@Beta public interface HasNetworkConditions
Used by classes to indicate that they can simulate different network conditions.
  • Method Details

    • getNetworkConditions

      ChromiumNetworkConditions getNetworkConditions()
      Gets map of network conditions. These have to be set before they can be retrieved.
      Returns:
      the current network condition values.
    • setNetworkConditions

      void setNetworkConditions(ChromiumNetworkConditions networkConditions)
      Set network limitations
      Parameters:
      networkConditions - object containing valid network condition settings.
    • deleteNetworkConditions

      void deleteNetworkConditions()
      Resets the network conditions to the default settings.