Class GetSnapshotCommandResponse
- Namespace
- OpenQA.Selenium.DevTools.V148.DOMSnapshot
- Assembly
- Selenium.WebDriver.dll
Response for Returns a document snapshot, including the full DOM tree of the root node (including iframes, template contents, and imported documents) in a flattened array, as well as layout and white-listed computed style information for the nodes. Shadow DOM in the returned DOM tree is flattened.
public sealed class GetSnapshotCommandResponse : ICommandResponse<GetSnapshotCommandSettings>, ICommandResponse
- Inheritance
-
GetSnapshotCommandResponse
- Implements
- Inherited Members
- Extension Methods
Properties
ComputedStyles
Whitelisted ComputedStyle properties for each node in the layout tree.
[JsonPropertyName("computedStyles")]
public ComputedStyle[] ComputedStyles { get; set; }
Property Value
DomNodes
The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.
[JsonPropertyName("domNodes")]
public DOMNode[] DomNodes { get; set; }
Property Value
- DOMNode[]
LayoutTreeNodes
The nodes in the layout tree.
[JsonPropertyName("layoutTreeNodes")]
public LayoutTreeNode[] LayoutTreeNodes { get; set; }