Table of Contents

Class KeyInputSource

Namespace
WebDriverBiDi.Input
Assembly
WebDriverBiDi.Extensions.dll

A key-based input source, like a keyboard, primarily for entering text.

public class KeyInputSource : InputSource
Inheritance
KeyInputSource
Inherited Members

Properties

DeviceKind

Gets the kind of source for this input device.

public override InputSourceKind DeviceKind { get; }

Property Value

InputSourceKind

Methods

CreateKeyDown(string)

Creates an action that presses a key.

public InputAction CreateKeyDown(string key)

Parameters

key string

The key: a single character or grapheme, such as "a" or "é", or a special key from Keys.

Returns

InputAction

The action.

CreateKeyUp(string)

Creates an action that releases a key.

public InputAction CreateKeyUp(string key)

Parameters

key string

The key: a single character or grapheme, such as "a" or "é", or a special key from Keys.

Returns

InputAction

The action.