The Command Menu provides a fast way to navigate the Chrome DevTools UI and accomplish common tasks, such as disabling JavaScript. You may be familiar with a similar feature in Visual Studio Code called the Command Palette, which was the original inspiration for the Command Menu.
To open the Command Menu:
If you use the workflow outlined in Open the Command Menu, the Command Menu opens with a Run >
prepended in the text box.
To open a file instead, delete the >
character and start typing a filename.
The Run
prepend changes to Open
and DevTools searches for relevant files instead.
Alternatively, you can go straight to the Open File menu in one of the following ways:
By default, DevTools hides the files of known third-parties. To open such files from the menu, disable the Hide ignore-listed sources option in the Sources panel.
The Command Menu lets you capture area screenshots of your website, much like the snipping tool.
To take an area screenshot, follow these steps:
To discover more ways to take screenshots with DevTools, see 4 ways to capture screenshots with DevTools.
To see other actions available from the Command Menu, delete the >
character and type ?
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.