---
title: "WebCommandKeyboard"
description: "API documentation for WebCommandKeyboard"
url: https://developer.disguise.one/python-api/docs/webcommandkeyboard/
---

# WebCommandKeyboard

A WebCommand that sends keyboard events to a WebBrowser.

Base class (inherits properties and methods): _[WebCommand](/python-api/docs/webcommand#webcommand)_

## Properties

#### **ascii** : _int_

ASCII value of the current selected key.

#### **key** : _int_

The currently selected key.

#### **keyState** : _int_

The state of the selected key. 0 = up, 1 = down.

#### **modifierAlt** : _int_

The state of the alt modifier key. 0 = up, 1 = down.

#### **modifierCtrl** : _int_

The state of the ctrl modifier key. 0 = up, 1 = down.

#### **modifierShift** : _int_

The state of the shift modifier key. 0 = up, 1 = down.

## Constructors

#### **\_\_init\_\_**(self)
