Skip to content

ElementScreenshotOptions

Namespace: PuppeteerSharp

public class ElementScreenshotOptions : ScreenshotOptions

Options to be used in ElementScreenshotOptions), ScreenshotStreamAsync(ElementScreenshotOptions) and ScreenshotDataAsync(ElementScreenshotOptions).

Inheritance: object → ScreenshotOptions

View source

public bool ScrollIntoView { get; set; }

When true, it will scroll into view before taking the screenshot. Defaults to true.

Value: bool

View source

Made with love by Dario Kondratiuk