Table of Contents

Class SourceActions

Namespace
WebDriverBiDi.Input
Assembly
WebDriverBiDi.dll

Base class for input actions.

[JsonDerivedType(typeof(KeySourceActions))]
[JsonDerivedType(typeof(PointerSourceActions))]
[JsonDerivedType(typeof(WheelSourceActions))]
[JsonDerivedType(typeof(NoneSourceActions))]
public abstract class SourceActions
Inheritance
SourceActions
Derived
Inherited Members

Constructors

SourceActions(string)

Initializes a new instance of the SourceActions class.

protected SourceActions(string sourceId)

Parameters

sourceId string

The unique ID of the input source.

Properties

Id

Gets the ID of the device.

[JsonPropertyName("id")]
public string Id { get; }

Property Value

string

Type

Gets the type of the source actions.

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

Property Value

string