title: Targeting a nested iframe using puppeteer
body: <p>At the moment I'm trying to create some E2E tests which require logging into Excel online and then uploading an extension.</p>
  <p>I was able to login, open Excel and click the upload plugin button, however, I cannot get any further.</p>
  <p>So far I've figured out there are 2 iframes, one nested in another.</p>
  <p>I access the first one once I open Excel</p>
  <pre class="lang-js prettyprint-override"><code>let targetIFrame = await this.page.frames().find(f =&gt; f.name() === 'sdx_ow_iframe');
  </code></pre>
  <p>The tricky part about the second one is that it only appears in the DOM after I click the &quot;Upload Plugin&quot; button and it is nested in the one I accessed above.</p>
  <p>I've tried different delays etc, but it just looks like puppeteer does not see it.</p>