title: Selenium click on coordinates not clicking where expected
body: <p>I need to screen scrape a webpage that is using ActiveX controls for the navigation.  This is not for ui testing purposes, its for data downloads from a legacy application.</p>
  
  <p>The issue I have is the top navigation is complete ActiveX with javascript and is impossible to get the elements by anything.  So I am trying to do mouse clicks at the coordinates.</p>
  
  <p>I am using the following method <a href="https://stackoverflow.com/questions/6775351/clicking-at-coordinates-without-identifying-element">answer by Bergstrom</a></p>
  
  <p>Basically I am doing </p>
  
  <pre><code>var action = new Actions(ieDriver).MoveToElement(ieDriver.FindElement(By.Tag("HTML"))).MoveByOffset(200,100).Click().Perform();
  </code></pre>
  
  <p>I confirmed while debugging that ieDriver.FindElement returns -1,-1 for the location of the HTML tag, so the offset coordinates should be correct.</p>
  
  <p>I measured the coordinates using IE Toolbar.  When I run the code nothing happens, so I assume its click in blank space.</p>
  
  <p>Is there a way to ping the browser so I know where the coordinates are or is there a better way of achieving this?</p>
  
  <p>I was able to successfully do this using VS Coded Unit Test since it actually moves the cursor, but I don't think the licensing will allow me to use that option as well as the annoyance of getting it to run outside of visual studio.</p>