In previous versions of Safari the JavaScript console in the Developer Tools (aka Web Inspector) had a little 'clear' button at the bottom that emptied out console items, which was useful for getting rid of clutter between debug sessions.
As of Safari 6, the new Dev Tools don't seem to have such a button. Manually using clear()
and console.clear()
doesn't work either. The 'Clear Console' item in the contextual menu doesn't seem to do anything for me.
Short of console.log("\n\n\n\n\n\n\n\n\n")
, is there a way to clear the console in Safari 6?
Best Answer
Use Command-K (⌘+K) to clear Safari 6 Web Inspector console.