type
Type keys. To type special keys, begin and end the string with $
and use the special key's keyword. For example, to type the Escape key, enter $ESCAPE$
.
Fields
Field | Type | Description | Default |
---|---|---|---|
keys | One of - string - array of string | Optional. Sequence of keys to enter. | |
inputDelay | number | Optional. Delay in milliseconds between each key press during a recording | 100 |
selector | string | Optional. Selector for the element to type into. If not specified, the typing occurs in the active element. |
Examples
"kittens"
[
"$ENTER$"
]
[
"kittens",
"$ENTER$"
]
{
"keys": "kittens"
}
{
"keys": [
"$ENTER$"
]
}
{
"keys": [
"kittens",
"$ENTER$"
],
"inputDelay": 500
}