Table of Contents

Class MoveToCommandSettings

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

Moves node into the new container, places it before the given anchor.

public sealed class MoveToCommandSettings : ICommand
Inheritance
MoveToCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

InsertBeforeNodeId

Drop node before this one (if absent, the moved node 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 move.

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

Property Value

long

TargetNodeId

Id of the element to drop the moved node into.

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

Property Value

long