Table of Contents

Class GetEncodedResponseCommandSettings

Namespace
OpenQA.Selenium.DevTools.V147.Audits
Assembly
Selenium.WebDriver.dll

Returns the response body and size if it were re-encoded with the specified settings. Only applies to images.

public sealed class GetEncodedResponseCommandSettings : ICommand
Inheritance
GetEncodedResponseCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Encoding

The encoding to use.

[JsonPropertyName("encoding")]
public string Encoding { get; set; }

Property Value

string

Quality

The quality of the encoding (0-1). (defaults to 1)

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

Property Value

double?

RequestId

Identifier of the network request to get content for.

[JsonPropertyName("requestId")]
public string RequestId { get; set; }

Property Value

string

SizeOnly

Whether to only return the size information (defaults to false).

[JsonPropertyName("sizeOnly")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? SizeOnly { get; set; }

Property Value

bool?