Class ElementClipRectangle
- Namespace
- WebDriverBiDi.BrowsingContext
- Assembly
- WebDriverBiDi.dll
Represents an element-based clipping rectangle for a screenshot.
public class ElementClipRectangle : ClipRectangle
- Inheritance
-
ElementClipRectangle
- Inherited Members
Constructors
ElementClipRectangle(SharedReference)
Initializes a new instance of the ElementClipRectangle class.
public ElementClipRectangle(SharedReference element)
Parameters
elementSharedReferenceThe reference to the element to use to clip the screenshot.
Properties
Element
Gets or sets the element to use to clip the screenshot.
[JsonPropertyName("element")]
public SharedReference Element { get; set; }
Property Value
Type
Gets the type of clip rectangle.
[JsonPropertyName("type")]
public override string Type { get; }