title: Perform Click on an Element
body: <p>I am working on Selenium WebDriver.
  I need to point the mouse to an element and perform click on it and I want to use javascript here instead of Xpaths.</p>
  
  <p>The javascript of that element is not a method so that I can just fire it directly.
  I am confused how to create a javascript so that the method when auto-executed should go to that object (I want to point to that object using its javascript only) and perform click.</p>
  
  <p><strong>Element's javascript:</strong> </p>
  
  <pre><code>javascript:setParam(paramOrderNbr, '4');
  go('survey_editing.jsp','actMoveItemUp);
  </code></pre>
  
  <p>Please help!</p>
  
  <p>Kumar</p>