¿Existe alguna forma de ejecutar Javascript utilizando AppleScript?
aquí está el JS :
javascript:Array.from(document.getElementsByClassName('action-button')).forEach(function(v){v.removeAttribute("disabled");});
Probé esto
tell application "Google Chrome"
tell tab 2 of window 1 to set RemoveBtRestriction to execute javascript "javascript:Array.from(document.getElementsByClassName('action-button')).forEach(function(v){v.removeAttribute("disabled");});"
end tell
pero esto devuelve el error "Se esperaba fin de línea pero se encontró identificador".