title: Switching browser developer tools console context to particular iframe
body: <p>Chrome has the easiest way of doing this by simply selecting a frame from a drop down. Firefox provides the <code>cd(frame)</code> function which is less usable but does the job as long as you're willing to discover which frame is which...</p>
  <h3>But how do we do the same in Internet Explorer Developer Tools?</h3>
  <p>And specifically in IE8 if this has changed in later versions... The usual way would of course be to write these kind of lines to access particular frame's context:</p>
  <pre><code>frames[n].window.somePublicFunction();
  </code></pre>
  <p>But that seems so cumbersome especially when you have nested <code>iframes</code>. Finding the correct frame is simply a pain.</p>
  <h3>Any suggestions?</h3>