Xtype Alt + Space + X failed

Hello everyone,

My first post.

For Chrome, the windows shortcut to maximize window is: Alt + Space then x

I tried this and get an error message:

{
  "Command": "XType",
  "Target": "${KEY_ALT+KEY_SPACE+KEY_X}",
  "Value": "",
  "Description": ""
},

[error] Line 1: Failed to XType ‘${KEY_ALT+KEY_SPACE+KEY_X}’

How can I fix this?

bringBrowserToForeground

click Maximize button directly

How is this step possible?

Desktop automation mode