Table of Contents

Class PauseAction

Namespace
WebDriverBiDi.Input
Assembly
WebDriverBiDi.dll

An action to pause the execution of a device.

public class PauseAction : INoneSourceAction, IKeySourceAction, IPointerSourceAction, IWheelSourceAction
Inheritance
PauseAction
Implements
Inherited Members

Constructors

PauseAction()

public PauseAction()

Properties

Duration

Gets or sets the duration of the pause.

[JsonIgnore]
public TimeSpan? Duration { get; set; }

Property Value

TimeSpan?

Remarks

Valid values for this property are greater than or equal to zero, as the protocol transmits the duration as an unsigned integer number of milliseconds. Unlike properties whose range the remote end enforces, a negative value is rejected by this property, because a negative duration cannot be represented on the wire.

Exceptions

ArgumentOutOfRangeException

Thrown when set to a negative TimeSpan.

Type

Gets the type of the action.

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

Property Value

string