Table of Contents

Class CaptureSnapshotCommandResponse

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 CaptureSnapshotCommandResponse : ICommandResponse<CaptureSnapshotCommandSettings>, ICommandResponse
Inheritance
CaptureSnapshotCommandResponse
Implements
Inherited Members
Extension Methods

Properties

Documents

The nodes in the DOM tree. The DOMNode at index 0 corresponds to the root document.

[JsonPropertyName("documents")]
public DocumentSnapshot[] Documents { get; set; }

Property Value

DocumentSnapshot[]

Strings

Shared string table that all string properties refer to with indexes.

[JsonPropertyName("strings")]
public string[] Strings { get; set; }

Property Value

string[]