Class ElementScreenshotOptions
- Namespace
- PuppeteerSharp
- Assembly
- PuppeteerSharp.dll
Options to be used in ScreenshotAsync(string, ElementScreenshotOptions), ScreenshotStreamAsync(ElementScreenshotOptions) and ScreenshotDataAsync(ElementScreenshotOptions).
public class ElementScreenshotOptions : ScreenshotOptions
- Inheritance
-
ElementScreenshotOptions
Properties
ScrollIntoView
When true
, it will scroll into view before taking the screenshot. Defaults to true
.
public bool ScrollIntoView { get; set; }