title: selenium webdriver element inside iframe is clickable but moveToElement results in MoveTargetOutOfBoundsError
body: <p>I have a page with an iframe. Inside the iframe is a table. When the user moves the mouse over this table, some elements appear. I'd like to click one of those elements.</p>
  
  <p>I think some of my first steps should be to select the iframe, and then moveToElement(table). But this results in a MoveTargetOutOfBoundsError.</p>
  
  <p>The strange thing is that I'm able to select the iframe and click on the table. The click doesn't complain about the element's x,y coordinates but moveToElement complains. <strong>Why?</strong> (Unfortunately clicking on the table performs an action which causes those buttons I want to disappear so this is not an option.)</p>
  
  <p>And how can I accomplish what I want (select iframe, hover over table, wait for buttons to appear, click one of the buttons)?</p>
  
  <p>version info:</p>
  
  <pre><code>Build info: version: '2.28.0', revision: '18309', time: '2012-12-11 15:53:30'
  System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_37'
  </code></pre>
  
  <p>Here's the java code that succeeds in clicking the table:</p>
  
  <pre><code>driver.switchTo().defaultContent();
  driver.switchTo().frame("frameId");
  WebElement e = driver.findElement(By.id("foo"));
  e.click();
  </code></pre>
  
  <p>Here's the java code that complains about the location of the table:</p>
  
  <pre><code>driver.switchTo().defaultContent();
  driver.switchTo().frame("frameId");
  WebElement e = driver.findElement(By.id("foo"));
  Actions builder = new Actions(driver);
  builder.moveToElement(e).build().perform(); // error happens in moveToElement()
  </code></pre>