Skip to main content

EMULATE_NETWORK_CONDITIONS

Constant EMULATE_NETWORK_CONDITIONS 

Source
pub const EMULATE_NETWORK_CONDITIONS: &str = "Network.emulateNetworkConditions";
Expand description

Activates emulation of network conditions. This command is deprecated in favor of the emulateNetworkConditionsByRule and overrideNetworkState commands, which can be used together to the same effect.

Deprecated in the protocol.

Parameters:

  • offline: boolean
  • latency: number
  • downloadThroughput: number
  • uploadThroughput: number
  • connectionType: ConnectionType (optional)
  • packetLoss: number (optional)
  • packetQueueLength: integer (optional)
  • packetReordering: boolean (optional)