Can't Type on ChatGPT

Hello all,

I am working with Firefox. I am trying to type a piece of text on ChatGPT’s message box but can’t.

I can activate the box with XClick | //*[@id=“prompt-textarea”], but Type doesn’t work.

I tried using XType but it takes too long and I don’t know how to pause the execution of the macro until XType is done. I don’t like this approach as it prevents me from using the clipboard while the macro is running.

I tried passing all text to the clipboard and use XType | ${KEY_CTRL+KEY_V}, but there is an issue on version UI.Vision 6.2.6 on Firefox ([RPA for Firefox only] Paste from clipboard).

The ideal solution would be to use the command Click and Type, but I can’t make it work.

I will appreciate any suggestions.

Thank you!

i tried it on chrome by recoding my input without any issues to fill it automatically:

{
“Command”: “open”,
“Target”: “https://chat.openai.com/”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=prompt-textarea”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=prompt-textarea”,
“Value”: “test me”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//*[@id="__next"]/div/div[2]/div/main/div/div[2]/form/div/div[2]/div/button”,
“Value”: “”,
“Description”: “”
}

There is a nice video of ChatGPT automation with Ui.Vision. So like @noahhath said, it is no problem.

It doesn’t work on Firefox.

What goes wrong with RPA for Firefox? Can you post a video of the issue?

I finally got time to write a simple macro to show you what goes wrong.

Typing the value of a variable doesn’t work.

Running Firefox 11930. Running RPA UI.Vision 6.2.6.

Blockquote
{
“Name”: “Test-Click-FIREFOX-on-ChatGPT”,
“CreationDate”: “2023-10-27”,
“Commands”: [
{
“Command”: “comment”,
“Target”: “open // https://chat.openai.com/?model=text-davinci-002-render-sha”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=prompt-textarea”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=prompt-textarea”,
“Value”: “This text came from the text box.”,
“Description”: “”
},
{
“Command”: “store”,
“Target”: “This text came from a variable.”,
“Value”: “var_text”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “xpath=//[@id="__next"]/div/div[2]/main/div/div[2]/form/div/div[2]/div/button",
“Value”: “”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: “id=prompt-textarea”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “type”,
“Target”: “id=prompt-textarea”,
“Value”: “${var_text}”,
“Description”: “”
},
{
“Command”: “click”,
“Target”: "xpath=//
[@id="__next"]/div/div[2]/main/div/div[2]/form/div/div[2]/div/button”,
“Value”: “”,
“Description”: “”
}
]
}