title: Finding nested iFrame using Selenium 2
body: <p>I am writing tests for a legacy application in which there is an iFrame within the main document, and then another iFrame within that. So the hierarchy is:</p>
  
  <pre><code>Html Div (id = tileSpace)
    iFrame (id = ContentContainer)
      iFrame (id = Content)
        Elements
  </code></pre>
  
  <p>This is my code (I am using C#)</p>
  
  <pre><code>RemoteWebDriver driver = new InternetExplorerDriver();
  var tileSpace = driver.FindElement(By.Id("tileSpace"));
  var firstIFrame = tileSpace.FindElement(By.Id("ContentContainer"));
  var contentIFrame = firstIFrame.FindElement(By.Id("Content"));
  </code></pre>
  
  <p>The problem is, I am unable to reach the 2nd level iFrame i.e. contentIFrame</p>
  
  <p>Any ideas?</p>