Table of Contents

Class PrintToPDFCommandResponse

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

Response for Print page as PDF.

public sealed class PrintToPDFCommandResponse : ICommandResponse<PrintToPDFCommandSettings>, ICommandResponse
Inheritance
PrintToPDFCommandResponse
Implements
Inherited Members
Extension Methods

Properties

Data

Base64-encoded pdf data. Empty if |returnAsStream| is specified.

[JsonPropertyName("data")]
public string Data { get; set; }

Property Value

string

Stream

A handle of the stream that holds resulting PDF data.

[JsonPropertyName("stream")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? Stream { get; set; }

Property Value

string