Skip to content

KeyPressArgumentsDict

Dictionary Type

KeyPressArgumentsDict

Bases: TypedDict

Dictionary form of KeyPressArguments.

Attributes

key instance-attribute
key: Required[str]

The key name to press (for example, enter, tab, escape).

presses instance-attribute
presses: int | None

The number of times to press the key. Valid range: 1--100. Defaults to 1.