Table of Contents

Enum ScreenshotOrigin

Namespace
WebDriverBiDi.BrowsingContext
Assembly
WebDriverBiDi.dll

The enumerated values for the area a screenshot captures.

[JsonConverter(typeof(EnumValueJsonConverter<ScreenshotOrigin>))]
public enum ScreenshotOrigin

Fields

Document = 1

The screenshot captures the whole document, producing a full-page image. A box clip rectangle is positioned relative to the document origin; an element clip rectangle is positioned at its element.

Viewport = 0

The screenshot captures the visual viewport. A box clip rectangle is positioned relative to it; an element clip rectangle is positioned at its element whatever the origin.