Skip to content

GetContentOptions

Namespace: PuppeteerSharp

public class GetContentOptions

Options for GetContentAsync(GetContentOptions) and GetContentAsync(GetContentOptions).

Inheritance: object

View source

public bool ReplaceLoneSurrogates { get; set; }

Replace lone surrogates with U+FFFD replacement character.

Value: bool

This functionality relies on the toWellFormed function. <a href=“https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toWellFormed"&gt;See.&lt;/a>. It’s set to false by default to prevent extra processing when not needed.

View source

Made with love by Dario Kondratiuk