Reputation: 7324
Is there any shortcut key combination for Google Chrome DevTools Network Tab to clear the logs? Such as Ctrl
+L
is used to clear console logs.
Upvotes: 31
Views: 21382
Reputation: 5849
Chrome 115 and above: There are now keyboard shortcuts for this, which work while you are focused on the Network tab.
Command + K
Control + L
Chrome 114 and below: If you have Preserve Log checked on the Network tab and want to clear out everything, the easiest way to clear it is to close and reopen dev tools (i.e. press F12
twice). This won't be helpful in every situation, but is hopefully helpful for some.
Upvotes: 8
Reputation: 810
Press ⌘ Command+E (Mac) and Control+E (Windows) twice will do the trick.
Note: Your cursor must focus on DevTools (just click any area of the DevTools) before you use the shortcut. Also please keep in mind that you need to uncheck Preseve log
option to use the shortcut mentioned above.
Chrome DevTools Keyboard Shortcuts
Upvotes: 61
Reputation: 91
You can use @Ben's answer by using 'cmd+E' for mac or 'ctrl+E' in windows -twice, but reminding that you uncheck 'Preserve log' under Network tab. 'Preserve log' under Network tab
Upvotes: 9
Reputation: 25917
There's no such shortcut listed in the keyboard shortcut reference. Of course, my doc could be incomplete, so I checked the Command Menu also, and there doesn't appear to be a command for this. Also, usually when you hover over a button, if that button has a shortcut, DevTools shows you the shortcut in the tooltip. The Clear button doesn't show a shortcut, so I'm pretty confident at this point that a shortcut does not exist.
You can file a feature request at https://crbug.com
Upvotes: 6