title: WebDriver click() vs JavaScript click()
body: <p><strong>The Story:</strong></p>
  
  <p>Here on StackOverflow, I've seen users reporting that they cannot click an element via selenium WebDriver "click" command and can work around it with a JavaScript click by executing a script. </p>
  
  <p>Example in Python:</p>
  
  <pre><code>element = driver.find_element_by_id("myid")
  driver.execute_script("arguments[0].click();", element)
  </code></pre>
  
  <p>Example in WebDriverJS/Protractor:</p>
  
  <pre><code>var elm = $("#myid");
  browser.executeScript("arguments[0].click();", elm.getWebElement());
  </code></pre>
  
  <p><strong>The Question:</strong></p>
  
  <p>Why is clicking "via JavaScript" works when a regular WebDriver click does not? When exactly is this happening and what is the downside of this workaround (if any)?</p>
  
  <p><sup>I personally used this workaround without fully understanding why I have to do it and what problems it can lead to.</sup></p>