I often have a selector ready and want to see that node in the tree, without hunting through nested divs with the mouse picker.
Hand any element to inspect():
inspect(document.querySelector('footer'))
inspect(document.activeElement)
DevTools switches to the Elements panel with that node selected, its styles on the side. The second line is my favourite trick for keyboard testing: it takes you to whatever has focus right now.
It is also useful for things you cannot click, such as an element that is hidden, off screen or covered by an overlay. If your selector finds it, inspect() can show it. You can pass a function as well, and DevTools opens it in the Sources panel, so you can read the code without hunting for the file.
This only exists in the console. Do not put it in a script file, because the page itself has no such function (unless somebody defined their own, in which case you get theirs). If your selector matches nothing, you pass null and nothing useful happens, so check the selector first. After the jump, press Esc to get a small console back under the Elements panel.
Further reading: Chrome DevTools: Console utilities API