NetworkConditions
Namespace: PuppeteerSharp
public class NetworkConditionsOptions to be used in EmulateNetworkConditionsAsync(NetworkConditions).
Inheritance: object
Fields
Section titled “Fields”Fast3G
Section titled “Fast3G”public const string Fast3G = "Fast 3G"Key to be used with NetworkConditions.
Value: string
Fast4G
Section titled “Fast4G”public const string Fast4G = "Fast 4G"Key to be used with NetworkConditions.
Value: string
Slow3G
Section titled “Slow3G”public const string Slow3G = "Slow 3G"Key to be used with NetworkConditions.
Value: string
Slow4G
Section titled “Slow4G”public const string Slow4G = "Slow 4G"Key to be used with NetworkConditions.
Value: string
Properties
Section titled “Properties”Download
Section titled “Download”public double? Download { get; set; }Download speed (bytes/s). If not provided, download throttling is disabled and only the offline mode is emulated.
Value: double?
Latency
Section titled “Latency”public double? Latency { get; set; }Latency (ms). If not provided, no latency is emulated.
Value: double?
Offline
Section titled “Offline”public bool Offline { get; set; }Emulates the offline mode. Shortcut for SetOfflineModeAsync(bool).
Value: bool
Upload
Section titled “Upload”public double? Upload { get; set; }Upload speed (bytes/s). If not provided, upload throttling is disabled and only the offline mode is emulated.
Value: double?
Made with love by Dario Kondratiuk