title: HTMLElement.click() would not fire an expected event
body: <p>I try to use some simple native javascript code, in order to simulate a user click on a button at script.google.com:</p>
  
  <pre><code>document.querySelector("#runButton").click();
  </code></pre>
  
  <p>When I do it, nothing really happens, but when I really click on this element (<code>#runButton</code>), I can see a popup shows up. </p>
  
  <p>It might have something to do with the fact that <code>#runButton</code> is a div,
   cause when I do the same with anchor() elements, it works.</p>
  
  <p>Any ideas what I can do to better simulate this click? Something specific about google apps script editor that prevents me from doing it?</p>