I am trying to send a new value to a div which has textbox role and I am getting this error:
Uncaught TypeError:document.querySelector(...).value is not a function at <anonymous>:1:59
HTML CODE
<div class="msg-form__contenteditable t-14t-black--light t-normal flex-grow-1 full-height notranslate"contenteditable="true" role="textbox"aria-multiline="true" aria-label="Write a message…">?
<p>
<br>
</p>
</div>
MY CODE
It finds the element, but it doesn't send the value.
document.querySelector('[aria-label="Writea message…"]').value("Paul")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…