title: Javascriptexecutor is not working while running through safari webdriver
body: <p>I want to perform a click using javascriptexecutor. </p>
  
  <pre><code>JavasciptExecutor jse=(JavascriptExecutor) webDriver;
  jse.executescript("arguments[0].click();",webelement)
  </code></pre>
  
  <p>While running from safari,it is showing "<code>undefined is not a function&lt;evaluating arguments[0].click</code> "
  Same works fine in chrome driver.</p>
  
  <p>Am I need to add any capabilities while initiating webDriver?
  I have already added <code>capabilities.SetJavascriptEnabled(true)</code>. Still it is not working</p>