Table of Contents

Class PrintToPDFResult

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

Constructors

PrintToPDFResult(string, StreamHandle?)

public PrintToPDFResult(string Data, StreamHandle? Stream)

Parameters

Data string

Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)

Stream StreamHandle

A handle of the stream that holds resulting PDF data.

Properties

Data

Base64-encoded pdf data. Empty if |returnAsStream| is specified. (Encoded as a base64 string when passed over JSON)

public string Data { get; init; }

Property Value

string

Stream

A handle of the stream that holds resulting PDF data.

public StreamHandle? Stream { get; init; }

Property Value

StreamHandle