Table of Contents

Class CaptureScreenshotCommandSettings

Namespace
OpenQA.Selenium.DevTools.V132.Page
Assembly
WebDriver.dll

CaptureScreenshot

public sealed class CaptureScreenshotCommandSettings : ICommand
Inheritance
CaptureScreenshotCommandSettings
Implements
Inherited Members

Properties

CaptureBeyondViewport

Gets or sets the captureBeyondViewport

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

Property Value

bool?

Clip

Gets or sets the clip

[JsonPropertyName("clip")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public Viewport Clip { get; set; }

Property Value

Viewport

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Format

Gets or sets the format

[JsonPropertyName("format")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Format { get; set; }

Property Value

string

FromSurface

Gets or sets the fromSurface

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

Property Value

bool?

OptimizeForSpeed

Gets or sets the optimizeForSpeed

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

Property Value

bool?

Quality

Gets or sets the quality

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

Property Value

long?