3 <script src="inspector-test.js"></script>
4 <script src="console-test.js"></script>
5 <script src="elements-test.js"></script>
10 InspectorTest.firstElementsTreeOutline().addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
11 function selectedNodeChanged(event)
13 var node = event.data;
16 if (node.getAttribute("id") == "div") {
17 InspectorTest.addResult(WebInspector.DOMPresentationUtils.fullQualifiedSelector(node));
18 InspectorTest.completeTest();
21 InspectorTest.evaluateInConsole("inspect(iframeDivElement)");
29 Tests that inspect element action works for iframe children (https://bugs.webkit.org/show_bug.cgi?id=76808).
32 <iframe src="resources/inspect-element-iframe.html" onload="runTest()"></iframe>