Debugging iframes with Chrome developer tools

In the Developer Tools in Chrome, there is a bar along the top, called the Execution Context Selector (h/t felipe-sabino), just under the Elements tab, that changes depending on the context of the current tab. When in the Console tab there is a dropdown in that bar that allows you to select the frame context in which the Console will operate. Select your frame in this drop down and you will find yourself in the appropriate frame context. 😀

Chrome v59
Chrome version 59

Chrome v33
Chrome version 33

Chrome v32 & lower
Chrome pre-version 32

Leave a Comment