I need to execute the action of this button, which originally works with Control + Enter, using my JS, but the only static things on the button are data-tooltip
and aria-label
:
<div tabindex="1" class="T-I J-J5-Ji aoO T-I-atl L3 T-I-JW T-I-Zf-aw2"
id=":go" role="button" aria-label="Enviar (Ctrl-Enter)"
data-tooltip="Enviar (Ctrl-Enter)" unselectable="on"
data-tooltip-delay="800">Enviar</div>
I prefer a solution without key simulation, which acts directly on the element and allows me to command the sending programmatically.