I'm trying to programmatically click the "listen" button on a Google Translate page (https://translate.google.com/#en/es/javascript)
For some reason this code does not produce a sound:
document.getElementById('gt-src-listen').click()
while actual clicking on the button does.
Why these two are not identical and how can I programmatically emulate a click in this case?