I tried using editContent to write messages to a textarea ( xpath=//*[@id=“editor”]/textarea ) and it fail with error “Target is not contenteditable”.
How can I write messages to a textarea?
Also, does any way to clear the message in the textarea?
Thanks for your help!
I can use “type” to write messages to the textarea and use “XType” to send out with ${KEY_ENTER}.
But it seems only can type one line to textarea? Is it possible to type multi-lines? (I read messages from csv file, and use for editContent before)
Thanks for your reply.
\n can work if I put message in Value directly but not in csv file, It show “TEST\nTEST2” if I put this message in csv file.
I will try to find another way for this…