Table of Contents

Class DispatchDragEventCommandSettings

Namespace
OpenQA.Selenium.DevTools.V148.Input
Assembly
Selenium.WebDriver.dll

Dispatches a drag event into the page.

public sealed class DispatchDragEventCommandSettings : ICommand
Inheritance
DispatchDragEventCommandSettings
Implements
Inherited Members

Properties

CommandName

Gets the name of the command.

[JsonIgnore]
public string CommandName { get; }

Property Value

string

Data

Gets or sets the data

[JsonPropertyName("data")]
public DragData Data { get; set; }

Property Value

DragData

Modifiers

Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0).

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

Property Value

long?

Type

Type of the drag event.

[JsonPropertyName("type")]
public string Type { get; set; }

Property Value

string

X

X coordinate of the event relative to the main frame's viewport in CSS pixels.

[JsonPropertyName("x")]
public double X { get; set; }

Property Value

double

Y

Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport.

[JsonPropertyName("y")]
public double Y { get; set; }

Property Value

double