Table of Contents

Class EmulateNetworkConditionsByRuleCommandResponse

Namespace
OpenQA.Selenium.DevTools.V146.Network
Assembly
Selenium.WebDriver.dll

Response for Activates emulation of network conditions for individual requests using URL match patterns. Unlike the deprecated Network.emulateNetworkConditions this method does not affect navigator state. Use Network.overrideNetworkState to explicitly modify navigator behavior.

public sealed class EmulateNetworkConditionsByRuleCommandResponse : ICommandResponse<EmulateNetworkConditionsByRuleCommandSettings>, ICommandResponse
Inheritance
EmulateNetworkConditionsByRuleCommandResponse
Implements
Inherited Members
Extension Methods

Properties

RuleIds

An id for each entry in matchedNetworkConditions. The id will be included in the requestWillBeSentExtraInfo for requests affected by a rule.

[JsonPropertyName("ruleIds")]
public string[] RuleIds { get; set; }

Property Value

string[]