Class NetworkConditions
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Options to be used in EmulateNetworkConditionsAsync(NetworkConditions).
public class NetworkConditions
- Inheritance
-
NetworkConditions
Fields
Fast3G
Key to be used with NetworkConditions.
public const string Fast3G = "Fast 3G"
Field Value
Fast4G
Key to be used with NetworkConditions.
public const string Fast4G = "Fast 4G"
Field Value
Slow3G
Key to be used with NetworkConditions.
public const string Slow3G = "Slow 3G"
Field Value
Slow4G
Key to be used with NetworkConditions.
public const string Slow4G = "Slow 4G"
Field Value
Properties
Download
Download speed (bytes/s), -1
to disable.
public double Download { get; set; }
Property Value
Latency
Latency (ms), 0
to disable.
public double Latency { get; set; }
Property Value
Upload
Upload speed (bytes/s), -1
to disable.
public double Upload { get; set; }