title: How to identify and switch to the frame in selenium webdriver when frame does not have id and title
body: <p>Can anyone tell me how I can identify and switch to the iframe which hasn't title and id.
  I need to get into this frame in order to find another element in this frame for sending some text.</p>
  
  <pre><code>&lt;div class="sceditor-container" style="width: 1359px; height: 300px;"&gt;
    &lt;div class="sceditor-toolbar"&gt;
    &lt;iframe frameborder="0" src="javascript:false" style="width: 1349px; height: 261px;"&gt;
       &lt;!DOCTYPE html&gt;
       &lt;html style="height:100%"&gt;
         &lt;head&gt;
               &lt;meta content="text/html;charset=utf-8" http-equiv="Content-Type"&gt;
               &lt;link href="" type="text/css" rel="stylesheet"&gt;
         &lt;/head&gt;
        &lt;body contenteditable="true" style="height:88%"&gt;
          &lt;div&gt; &lt;/div&gt;
        &lt;/body&gt;
       &lt;/html&gt;
   &lt;/iframe&gt;
  </code></pre>
  
  <p>For this I wrote code:</p>
  
  <pre><code>WebDriver.SwitchTo().Frame(WebDriver.FindElement(By.TagName("iframe")));
  WebDriver.FindElement(By.XPath("html/body")).SendKeys("text");
  WebDriver.SwitchTo().DefaultContent();
  </code></pre>
  
  <p>But WebDriver can't find iframe element and as a result can't send text value into iframe element.</p>