title: Unable to locate iframe in Selenium Webdriver(java)
body: <p>I want to select a element of iframe which is located with in a popup window. I am able go inside popup window but not able to locate iframe. Below is html code of popup window.</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;iframe width="100%" height="100%" border="0" src="/some/url.do?parameter=getData"&gt;
  &lt;html&gt;
   .
   .
   &lt;table id="ec_table" class="tableRegion" width="20%" cellspacing="1" cellpadding="2" 
   border="0"&gt;
   &lt;tr class="even"&gt;
   &lt;td&gt;
   &lt;input type="radio" value="173" name="hier_data_id"&gt;
   &lt;/td&gt;
   &lt;/tr&gt;
   .
   .
   &lt;/html&gt;
   &lt;/iframe&gt;
   &lt;/body&gt;
   &lt;/html&gt;
  </code></pre>
  
  <p>Here I want to click Radio button which is located inside iframe. I used below code to switch with in iframe but it is not switching to iframe.</p>
  
  <pre><code> driver.switchTo().frame(myD.findElement(By.tag("iframe")));
  </code></pre>
  
  <p>As iframe doesn't have id, i'm finding difficulty locate elements inside iframe.  </p>
  
  <p>Does anyone know how I could do it..?                    </p>
  
  <p>Thanks in advance.</p>