Using the Console
Open the Console
You can access the console through the Console panel or as a split-screen view in the other panels.
- To open the Console panel, click the Console icon in the top toolbar.
- To open the split-screen Console view in another panel, click in the bottom toolbar.
Use the Console to inspect DOM elements
The console in Web Inspector lets you inspect DOM elements and objects. Use the inspect() function to open and select the specified element or object in either the Elements panel or Profiles panel respectively.
- Open the Elements panel and click the Show/hide Console split-view button () in the bottom toolbar.
- Select the element you want to inspect using $(selector).
- Pass the last evaluated expression property ($_) to the inspect() function.
To learn more about the Console, and view the Console and Command Line API reference guides, visit Chrome Developer Tools Guide.
Last modified: 2014-09-29