Keyboard
Constructor Summary
Public Constructor | ||
public |
constructor(client: Chrome | CRIConnection | CDPSession | Object) |
Member Summary
Private Members | ||
private |
|
|
private |
_client: * |
|
private |
|
|
private |
_pressedKeys: * |
Method Summary
Public Methods | ||
public |
|
|
public |
|
|
public |
async sendCharacter(char: string) |
|
public |
|
|
public |
|
|
public |
useAlternativeKeyDefinitions(keyDef: Object<string, KeyDefinition>) |
Private Methods | ||
private |
_getKeyDefValue(key: string): KeyDefinition |
|
private |
_keyDescriptionForString(keyString: string): KeyDescription |
|
private |
_modifierBit(key: string): number |
Public Constructors
public constructor(client: Chrome | CRIConnection | CDPSession | Object) source
Params:
Name | Type | Attribute | Description |
client | Chrome | CRIConnection | CDPSession | Object |
Private Members
private _altKeyDef: Object<string, KeyDefinition> source
private _client: * source
private _pressedKeys: * source
Public Methods
public async down(key: string, options: {text?: string}=) source
Params:
Name | Type | Attribute | Description |
key | string | ||
options | {text?: string}= |
public useAlternativeKeyDefinitions(keyDef: Object<string, KeyDefinition>) source
Params:
Name | Type | Attribute | Description |
keyDef | Object<string, KeyDefinition> |
Private Methods
private _getKeyDefValue(key: string): KeyDefinition source
Params:
Name | Type | Attribute | Description |
key | string |
private _keyDescriptionForString(keyString: string): KeyDescription source
Params:
Name | Type | Attribute | Description |
keyString | string |