Class BeginFrameResult
- Namespace
- Selenium.WebDriver.BiDi.Cdp.HeadlessExperimental
- Assembly
- Selenium.WebDriver.BiDi.Cdp.dll
public sealed record BeginFrameResult : EmptyResult, IEquatable<EmptyResult>, IEquatable<BeginFrameResult>
- Inheritance
-
EmptyResultBeginFrameResult
- Implements
-
IEquatable<EmptyResult>
- Inherited Members
-
EmptyResult.ToString()EmptyResult.GetHashCode()EmptyResult.Equals(EmptyResult)EmptyResult.<Clone>$()EmptyResult.AdditionalDataEmptyResult.AdditionalMessageData
Constructors
BeginFrameResult(bool, string?)
public BeginFrameResult(bool HasDamage, string? ScreenshotData)
Parameters
HasDamageboolWhether 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.
ScreenshotDatastringBase64-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
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; }