Table of Contents

Class CopyToCommandSettings

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

Creates a deep copy of the specified node and places it into the target container before the given anchor.

public sealed class CopyToCommandSettings : ICommand
Inheritance
CopyToCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

InsertBeforeNodeId

Drop the copy before this node (if absent, the copy becomes the last child of targetNodeId).

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

Property Value

long?

NodeId

Id of the node to copy.

[JsonPropertyName("nodeId")]
public long NodeId { get; set; }

Property Value

long

TargetNodeId

Id of the element to drop the copy into.

[JsonPropertyName("targetNodeId")]
public long TargetNodeId { get; set; }

Property Value

long