¿Cómo se puede añadir varias líneas de texto en Chrome utilizando el documento.getElementsByClassName? Yo no tengo ningún problema cuando es una línea, pero uno que tengo más de uno que tiene un valor que falta en su lugar
set myCaseNote to "MULTIPLE
LINE
TEXT
HERE"
tell application "Google Chrome"
tell tab 3 of window 1 to set RemoveBtRestriction to execute javascript ¬
" document.getElementsByClassName('text-entry')[1].value=" & quoted form of myCaseNote & ""
end tell
Resultado: falta valor