Use the short cut Ctrl + L to clear the console. Use the clear log button on the top left corner of the chrome dev tools console to clear the console.
New Incognito Window. You can also use a keyboard shortcut to open an Incognito window: Windows, Linux, or Chrome OS: Press Ctrl + Shift + n. Mac: Press ⌘ + Shift + n.
You can use Ctrl + L to clear the chrome-dev-console on Windows/Linux and Cmd + K on Mac.
The list of keyboard shortcuts for Chrome Developer Tools is at: http://code.google.com/chrome/devtools/docs/shortcuts.html.
For clearing the console log, press Ctrl-L. Unfortunately, it appears the log needs to be in focus (clicked on) for the keyboard command to work.
Keyboard shortcuts
Ctrl + L or Cmd + L
Command line
clear()
Here's a cheatsheet for more shortcut keys: http://anti-code.com/devtools-cheatsheet/
I do not know why, but on my Mac (OS X El Capitan v10, Google Chrome v40) shortcuts mentioned above Cmd+L do NOT clear the Console log.
But Cmd + k perfectly works !!! Before using this shortcut make sure that the console is active!
So my solution for Macs is: Cmd + k !!!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With