title: WebDriver - How to locate iframe without id
body: <p>I'm trying to switch to an iframe in order to locate an element, but I'm unable to locate the iframe since it has no <code>id</code> or <code>name</code></p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div id="eyein-modal" style="display: block; position: fixed; width: 100%; height: 100%; top: 0px; left: 0px; bottom: 0px; right: 0px; z-index: 90000000; background-color: rgba(0, 0, 0, 0.6); overflow: auto; opacity: 1;"&gt;
  &lt;iframe style="display: block; width:90%; height:90%; border: 0px; margin: 2.5% auto; z-index: 90000000; overflow: hidden;" scrolling="no" src="about:blank"&gt;
  &lt;html&gt;
     &lt;head&gt;
     &lt;body class=""&gt;
        &lt;div id="modal"&gt;
        &lt;div id="modal-header"&gt;
        &lt;div id="header-logo"&gt;
        &lt;div id="title-container" class=""&gt;
        &lt;a id="view-event" class="button" target="_blank" href="http://www.link.com"&gt;view event&lt;/a&gt;
        &lt;div id="close-modal" class="close-dark"&gt;&lt;/div&gt;
  </code></pre>
  
  <p><code>close-modal</code> is the element I need eventually </p>