Skip to navigation

type

Referenced In

Fields

FieldTypeDescriptionDefault
typeone of:
- one of:
- string
- array of string
- object(Type keys (detailed))
Required. 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$.—

Examples

{
"type": "kittens"
}
{
"type": [
"$ENTER$"
]
}
{
"type": [
"kittens",
"$ENTER$"
]
}
{
"type": {
"keys": "kittens"
}
}
{
"type": {
"keys": [
"$ENTER$"
]
}
}
{
"type": {
"keys": [
"kittens",
"$ENTER$"
],
"inputDelay": 500
}
}
{
"type": {
"keys": [
"2+2",
"$ENTER$"
],
"surface": "node",
"waitUntil": {
"stdio": "/^4$/"
},
"timeout": 5000
}
}
{
"type": {
"keys": [
"$CTRL$",
"c"
],
"surface": {
"process": "node"
}
}
}
{
"type": {
"keys": [
"kittens",
"$ENTER$"
],
"selector": "#search",
"surface": {
"browser": "chrome",
"tab": "cart"
},
"waitUntil": {
"find": {
"selector": ".results"
}
},
"timeout": 10000
}
}