Table of Contents

Class GetContainerForNodeCommandResponse

Namespace
OpenQA.Selenium.DevTools.V147.DOM
Assembly
Selenium.WebDriver.dll

Response for Returns the query container of the given node based on container query conditions: containerName, physical and logical axes, and whether it queries scroll-state or anchored elements. If no axes are provided and queriesScrollState is false, the style container is returned, which is the direct parent or the closest element with a matching container-name.

public sealed class GetContainerForNodeCommandResponse : ICommandResponse<GetContainerForNodeCommandSettings>, ICommandResponse
Inheritance
GetContainerForNodeCommandResponse
Implements
Inherited Members
Extension Methods

Properties

NodeId

The container node for the given node, or null if not found.

[JsonPropertyName("nodeId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? NodeId { get; set; }

Property Value

long?