Table of Contents

Class OverrideQuotaForOriginCommandSettings

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

Override quota for the specified origin

public sealed class OverrideQuotaForOriginCommandSettings : ICommand
Inheritance
OverrideQuotaForOriginCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Origin

Security origin.

[JsonPropertyName("origin")]
public string Origin { get; set; }

Property Value

string

QuotaSize

The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).

[JsonPropertyName("quotaSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public double? QuotaSize { get; set; }

Property Value

double?