I have a simple script, that is supposed to post a comment on Instagram, but it only posts the first letter of the text (“Testing comment script!”).
I use UI.vision Version 9.3.8, and Brave browser
Version 1.73.97 Chromium: 131.0.6778.108 (Official Build) unknown (64-bit)
running on Linux Mint 22 Cinnamon ver. 6.2.9.
can anyone help me out with what is wrong?
thanks
{
"Name": "IG-comment-like",
"CreationDate": "2024-12-11",
"Commands": [
{
"Command": "store",
"Target": "slow",
"Value": "!REPLAYSPEED",
"Description": "Set typing speed to slow"
},
{
"Command": "click",
"Target": "css=textarea[aria-label='Add a comment…']",
"Value": "",
"Description": "Click the comment input area"
},
{
"Command": "pause",
"Target": "3000",
"Value": "",
"Description": "Wait for the input field to activate"
},
{
"Command": "type",
"Target": "css=textarea[aria-label='Add a comment…']",
"Value": "Testing comment script!",
"Description": "Type the comment into the textarea"
},
{
"Command": "pause",
"Target": "3000",
"Value": "",
"Description": "Wait for the comment to fully appear in the field"
},
{
"Command": "click",
"Target": "xpath=//div[@role='button' and text()='Post']",
"Value": "",
"Description": "Click the Post button"
},
{
"Command": "pause",
"Target": "5000",
"Value": "",
"Description": "Wait for the comment to be posted"
}
]
}