I am trying to fill the text field in Web WhatsApp using Javascript but it is not working according to my requirement.
I want to write the text in the text field and then click the Send button programmatically using JS.
Is that possible?
I tried following code in console,
document.getElementsByClassName('_2_1wd copyable-text selectable-text')[1].innerText = "hello this is test\\n"
It is writing in the text field but overlapping the existing placeholder and send button also doesn't show by trying programmatically.