title: Automate string input to a input
body: <p>I know this question has been asked a hundred times.
  But once again, the solutions no longer work.</p>
  <p>I need to simulate key presses to automate a form.</p>
  <p>If I do it like this</p>
  <pre><code>document.getElementById(&quot;input_id&quot;).value = &quot;testinput&quot;
  </code></pre>
  <p>the events from the input do not trigger.
  And my value is just deleted again.</p>
  <p>is there again a possibility to simulate keystrokes so that also all events are triggered?</p>