X Type doesn`t work

Hi, why doesn`t work? :frowning:

{
“Name”: “busqueda google”,
“CreationDate”: “2024-2-17”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://google.com/”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=APjFqb”,
“Value”: “solar cells automation”,
“Targets”: [
“id=APjFqb”,
“name=q”,
“xpath=//*[@id="APjFqb"]”,
“xpath=//textarea[@id=‘APjFqb’]”,
“xpath=//textarea”,
“css=#APjFqb”
],
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_ENTER}”,
“Value”: “”,
“Description”: “”
}
]
}

You first need to put the cursor focus inside the box. This means you need to do a XCLICK before the XTYPE.

why don’t use click for google search?
command:click
target:xpath=/html/body/div/div[3]/form/div/div/div[4]/center/input

well, I guess i have to be aware of browser mode an desktop mode options, thanks.