Firebug command line allows executing JavaScript expressions within context of the current page. Firebug also provides a set of built in APIs and one of them is
cd().Lets consider below iframe
<iframe id="testID" name="testName" src="iframe.html" />
cd(document.getElementById("testID").contentWindow);switch to a frame by IDcd(window.frames[0]);switch to the first frame in the list of framescd(window.frames["testName"]);switch to a frame using by namecd(window.top);switching back to the top level window
Happy Coding .. :)
Regards,
SantoshSarma