Table of Contents

Class InputSource

Namespace
WebDriverBiDi.Input
Assembly
WebDriverBiDi.Extensions.dll

Base class for all input sources for actions.

public abstract class InputSource
Inheritance
InputSource
Derived
Inherited Members

Properties

DeviceKind

Gets the kind of source for this input device.

public abstract InputSourceKind DeviceKind { get; }

Property Value

InputSourceKind

SourceId

Gets the ID of this input source.

public string SourceId { get; }

Property Value

string

Methods

CreatePause()

Creates a pause action for synchronization with other action sequences.

public InputAction CreatePause()

Returns

InputAction

The InputAction representing the action.

CreatePause(TimeSpan)

Creates a pause action for synchronization with other action sequences.

public InputAction CreatePause(TimeSpan duration)

Parameters

duration TimeSpan

A TimeSpan representing the duration of the pause. Note that Zero pauses to synchronize with other action sequences for other input sources.

Returns

InputAction

The InputAction representing the action.

ToString()

Returns a string that represents the current InputSource.

public override string ToString()

Returns

string

A string that represents the current InputSource.