please i need help ::i have this code
{
“Name”: “test_newsletter”,
“CreationDate”: “2025-1-19”,
“Commands”: [
{
“Command”: “open”,
“Target”: “https://www.deepseek.com/”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “pause”,
“Target”: “2000”,
“Value”: “”,
“Description”: “Wait for 2 seconds for the page to load”
},
{
“Command”: “click”,
“Target”: “xpath=//*[contains(@class, ‘BannerCard_bannerCard__8xTj1’)]”,
“Value”: “”,
“Description”: “Click on the element with class ‘BannerCard_bannerCard__8xTj1’ in the new tab”
},
{
“Command”: “type”,
“Target”: “xpath=//textarea[@id=‘chat-input’]”,
“Value”: “please give me 20 website are not famous i want to sign up on it and put my eimail to get newsletter on my email”,
“Description”: “”
}
]
}
i want to use enter button on like when he type the text click on enter in keyboard to give me result
i’m already have use this code but doesn’t work .
{
“Command”: “sendKeys”,
“Target”: “id=prompt-textarea”, // Target the textarea by its ID
“Value”: “${KEY_ENTER}”, // Simulate pressing the Enter key
“Description”: “Press Enter after typing the message”
}
any suggestion please it’s gonna be great