Table of Contents

Class BeginFrameResult

Namespace
Selenium.WebDriver.BiDi.Cdp.HeadlessExperimental
Assembly
Selenium.WebDriver.BiDi.Cdp.dll
public sealed record BeginFrameResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<BeginFrameResult>
Inheritance
EmptyResult
BeginFrameResult
Implements
IEquatable<EmptyResult>
Inherited Members
EmptyResult.ToString()
EmptyResult.GetHashCode()
EmptyResult.Equals(EmptyResult)
EmptyResult.<Clone>$()
EmptyResult.AdditionalData
EmptyResult.AdditionalMessageData

Constructors

BeginFrameResult(bool, string?)

public BeginFrameResult(bool HasDamage, string? ScreenshotData)

Parameters

HasDamage bool

Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. Reported for diagnostic uses, may be removed in the future.

ScreenshotData string

Base64-encoded image data of the screenshot, if one was requested and successfully taken. (Encoded as a base64 string when passed over JSON)

Properties

HasDamage

Whether the BeginFrame resulted in damage and, thus, a new frame was committed to the display. Reported for diagnostic uses, may be removed in the future.

public bool HasDamage { get; init; }

Property Value

bool

ScreenshotData

Base64-encoded image data of the screenshot, if one was requested and successfully taken. (Encoded as a base64 string when passed over JSON)

public string? ScreenshotData { get; init; }

Property Value

string