In firebug, you can use the cd command to change the console context to an iframe. I need this when developing a facebook app to debug my javascript inside the iframe.
How do you do this in google chrome?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No “cd” command yet, but it seems that we’ll have a “dropdown list with all iframes to allow selecting current evaluation context for console expressions” in upcoming releases.
See http://trac.webkit.org/changeset/91839